Skip to content

Instantly share code, notes, and snippets.

@gshzn
Created April 12, 2015 15:28
Show Gist options
  • Save gshzn/426e381d2a85f14f7348 to your computer and use it in GitHub Desktop.
Save gshzn/426e381d2a85f14f7348 to your computer and use it in GitHub Desktop.
ru.tehkode.permissions.exceptions.PermissionBackendException: com.mysql.jdbc.exc
eptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'prefix' in 'field list'
at ru.tehkode.permissions.backends.sql.SQLBackend$3.performUpdate(SQLBac
kend.java:187)
at ru.tehkode.permissions.backends.PermissionBackend.performSchemaUpdate
(PermissionBackend.java:90)
at ru.tehkode.permissions.backends.sql.SQLBackend.<init>(SQLBackend.java
:193)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at ru.tehkode.permissions.backends.PermissionBackend.getBackend(Permissi
onBackend.java:392)
at ru.tehkode.permissions.backends.PermissionBackend.getBackend(Permissi
onBackend.java:367)
at ru.tehkode.permissions.PermissionManager.createBackend(PermissionMana
ger.java:624)
at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager
.java:606)
at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManage
r.java:693)
at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.jav
a:67)
at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.ja
va:164)
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(SimplePluginManage
r.java:417)
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.jav
a:476)
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.
java:394)
at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:3
60)
at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:3
34)
at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:2
90)
at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.jav
a:210)
at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java
:458)
at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:6
28)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown co
lumn 'prefix' in 'field list'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
at com.mysql.jdbc.Util.getInstance(Util.java:382)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2111)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
2273)
at ru.tehkode.libs.org.apache.commons.dbcp.DelegatingPreparedStatement.e
xecuteQuery(DelegatingPreparedStatement.java:96)
at ru.tehkode.libs.org.apache.commons.dbcp.DelegatingPreparedStatement.e
xecuteQuery(DelegatingPreparedStatement.java:96)
at ru.tehkode.permissions.backends.sql.SQLBackend$3.performUpdate(SQLBac
kend.java:162)
... 24 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment