- 无法连接上Mysql,下面是报错和config
[信息]: [CoreProtect] Invalid WorldEdit version found.
[信息]: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown storage engine 'InnoDB'
[信息]: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[信息]: at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
[信息]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
[信息]: at java.lang.reflect.Constructor.newInstance(Unknown Source)
[信息]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
[信息]: at com.mysql.jdbc.Util.getInstance(Util.java:408)
[信息]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
[信息]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
[信息]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
[信息]: at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
[信息]: at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
[信息]: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2486)
[信息]: at com.mysql.jdbc.StatementImpl.executeUpdateInternal(StatementImpl.java:1552)
[信息]: at com.mysql.jdbc.StatementImpl.executeLargeUpdate(StatementImpl.java:2607)
[信息]: at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1480)
[信息]: at net.coreprotect.model.Config.loadDatabase(Config.java:796)
[信息]: at net.coreprotect.model.Config.init(Config.java:967)
[信息]: at net.coreprotect.CoreProtect.onEnable(CoreProtect.java:46)
[信息]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316)
[信息]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:359)
[信息]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:410)
[信息]: at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:420)
[信息]: at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:352)
[信息]: at net.minecraft.server.MinecraftServer.func_71243_i(MinecraftServer.java:507)
[信息]: at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:481)
[信息]: at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:441)
[信息]: at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:353)
[信息]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:627)
[信息]: at java.lang.Thread.run(Unknown Source)
[信息]: CoreProtect 版本 2.10.0 已经加载了!
[信息]: [CoreProtect] Using SQLite for data storage.
#CoreProtect Config
# If enabled, extra data is displayed when doing rollbacks and restores.
# If disabled, you can manually trigger it in-game by adding "#verbose"
# to the end of your rollback statement.
verbose: true
# MySQL is optional and not required.
# If you prefer to use MySQL, enable the following and fill out the fields.
use-mysql: false
table-prefix: co_
mysql-host: localhost
mysql-port: 3306
mysql-database: corepr
mysql-username: root
mysql-password: 123456
# If enabled, CoreProtect will check for updates when your server starts up.
# If an update is available, you'll be notified via your server console.
check-updates: false
# If enabled, other plugins will be able to utilize the CoreProtect API.
api-enabled: true
# If no radius is specified in a rollback or restore, this value will be
# used as the radius. Set to "0" to disable automatically adding a radius.
default-radius: 10
# The maximum radius that can be used in a command. Set to "0" to disable.
# To run a rollback or restore without a radius, you can use "r:#global".
max-radius: 100
你的数据库设置正确了吗
xmdhs 发表于 2019-7-5 14:24
你的数据库设置正确了吗
登录插件就可以连上