SQL does not work with EchoPet!
DubstepCraig opened this issue ยท 2 comments
19:20:13 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
19:20:13 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
19:20:13 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
19:20:13 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
19:20:13 [SEVERE] at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
19:20:13 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
19:20:13 [SEVERE] at com.mysql.jdbc.Util.getInstance(Util.java:382)
19:20:13 [SEVERE] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
19:20:13 [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
19:20:13 [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
19:20:13 [SEVERE] at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
19:20:13 [SEVERE] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
19:20:13 [SEVERE] at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
19:20:13 [SEVERE] at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1662)
19:20:13 [SEVERE] at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1581)
19:20:13 [SEVERE] at com.github.dsh105.echopet.mysql.SQLPetHandler.saveToDatabase(SQLPetHandler.java:124)
19:20:13 [SEVERE] at com.github.dsh105.echopet.commands.PetCommand.onCommand(PetCommand.java:330)
19:20:13 [SEVERE] at com.github.dsh105.echopet.commands.CustomCommand.execute(CustomCommand.java:21)
19:20:13 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
19:20:13 [SEVERE] at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:527)
19:20:13 [SEVERE] at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:976)
19:20:13 [SEVERE] at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:887)
19:20:13 [SEVERE] at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:834)
19:20:13 [SEVERE] at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49)
19:20:13 [SEVERE] at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230)
19:20:13 [SEVERE] at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116)
19:20:13 [SEVERE] at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
19:20:13 [SEVERE] at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:132)
19:20:13 [SEVERE] at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:594)
19:20:13 [SEVERE] at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240)
19:20:13 [SEVERE] at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483)
19:20:13 [SEVERE] at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415)
19:20:13 [SEVERE] at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)