Помогите CoreProtect & MySql

Женя Купферберг

Старожил
Пользователь
Баллы
103
Ник в Minecraft
Gabbeh
server.log

Код:
2012-10-16 01:07:50 [INFO] [CoreProtect] Enabling CoreProtect v1.6
2012-10-16 01:07:50 [SEVERE] Got an exception! Failed to connect to MySQL database.
2012-10-16 01:07:50 [SEVERE] java.sql.SQLException: Access denied for user 'cp22'@'46.228.206.125' (using password: YES)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:951)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1717)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1276)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2395)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2428)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2213)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:797)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
2012-10-16 01:07:50 [SEVERE]    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2012-10-16 01:07:50 [SEVERE]    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
2012-10-16 01:07:50 [SEVERE]    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
2012-10-16 01:07:50 [SEVERE]    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:389)
2012-10-16 01:07:50 [SEVERE]    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
2012-10-16 01:07:50 [SEVERE]    at java.sql.DriverManager.getConnection(DriverManager.java:579)
2012-10-16 01:07:50 [SEVERE]    at java.sql.DriverManager.getConnection(DriverManager.java:221)
2012-10-16 01:07:50 [SEVERE]    at net.coreprotect.Config.connect(Config.java:420)
2012-10-16 01:07:50 [SEVERE]    at net.coreprotect.Config.init(Config.java:1034)
2012-10-16 01:07:50 [SEVERE]    at net.coreprotect.CoreProtect.onEnable(CoreProtect.java:152)
2012-10-16 01:07:50 [SEVERE]    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
2012-10-16 01:07:50 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
2012-10-16 01:07:50 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383)
2012-10-16 01:07:50 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:375)
2012-10-16 01:07:50 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:357)
2012-10-16 01:07:50 [SEVERE]    at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:307)
2012-10-16 01:07:50 [SEVERE]    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:286)
2012-10-16 01:07:50 [SEVERE]    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:226)
2012-10-16 01:07:50 [SEVERE]    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:168)
2012-10-16 01:07:50 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387)
2012-10-16 01:07:50 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
2012-10-16 01:07:50 [INFO] CoreProtect version 1.6 is enabled!
2012-10-16 01:07:50 [INFO] [CoreProtect] Using file based data storage.

CoreData Config.yml

Код:
# MySQL is optional and not required.
# If you prefer to use MySQL, enable the following and fill out the fields.
use-mysql: true
table-prefix: co_
mysql-host: db4free.net
mysql-port: 3306
mysql-database: cp22
mysql-username: cp22
mysql-password: ******
 
YAML:
    ProtectedWallBlockId: '44:4'
    ForSaleWallBlockId: '44:1'
    AuctionWallBlockId: '44:1'
    AutoLinkPlots: true
    DisableExplosion: true
    DisableIgnition: true
    economy:
      UseEconomy: true
      CanPutOnSale: false
      CanSellToBank: false
      RefundClaimPriceOnReset: false
      RefundClaimPriceOnSetOwner: false
      ClaimPrice: 500.0
      ClearPrice: 0.0
      AddPlayerPrice: 0.0
      RemovePlayerPrice: 0.0
      PlotHomePrice: 0.0
      CanCustomizeSellPrice: false
      SellToPlayerPrice: 0.0
      SellToBankPrice: 0.0
      BuyFromBankPrice: 0.0
      AddCommentPrice: 0.0
      BiomeChangePrice: 1000.0
      ProtectPrice: 0.0
      DisposePrice: 0.0

Купить регион Plotme должно стоить 500$ а стоит 0 .
Почему?
 
Поднимаю тему с дна.
У меня последний CoreProtect, серв 1,6,4, те же ошибки, пароль правильно ввел и все записывается в базу данных верно. Но консоль засрана ошибками и плагин грузит серв. Но когда отключаю MySQL, то плагин перестает грузить серв, ошибки с консоли исчезают. Но тогда получается мало доступа к чему либо, через .db файл неудобно(я даж незнаю, чем открыть, а если б знал, всеравно было б лень качать постоянно по сотне мб).
UP
 
Назад
Верх Низ