When starting PEX with a shared sql it throws an error
Skwrr opened this issue · 0 comments
Description
When I start PermissionsX with a sql (im using it at the same time in another server with the same sql) it throws an error
Detailed Information
java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'prefix' in 'field list'
at ru.tehkode.permissions.backends.sql.SQLData.fetchInfo(SQLData.java:96)
at ru.tehkode.permissions.backends.sql.SQLData.(SQLData.java:36)
at ru.tehkode.permissions.backends.sql.SQLBackend.getGroupData(SQLBackend.java:142)
at ru.tehkode.permissions.PermissionManager.getGroup(PermissionManager.java:476)
at ru.tehkode.permissions.PermissionManager.getGroupList(PermissionManager.java:502)
at ru.tehkode.permissions.PermissionManager.preloadGroups(PermissionManager.java:591)
at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:677)
at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:752)
at ru.tehkode.permissions.PermissionManager.(PermissionManager.java:72)
at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:159)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:412)
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:476)
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:394)
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.reload(CraftServer.java:867)
at org.bukkit.Bukkit.reload(Bukkit.java:301)
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:26)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181)
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:765)
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchServerCommand(CraftServer.java:751)
at net.minecraft.server.v1_7_R4.DedicatedServer.aB(DedicatedServer.java:344)
at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:308)
at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:642)
at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:548)
at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)