This sorta goes here but, I was testing out my ladders. Standard works fine. However my other ladders do not. My 2nd Ladder (UU) does not give a message in NetBeans. When I tried my 3rd ladder (Ubers), I get...
I'm pretty sure that its a table. I've tried to add a table like that, but the MySQL command line gives me this....
The code I entered was...
Help?
EDIT: I modified the code to
And it said...
EDIT2: My MySQL Database is named SBDatabase.
Also is there a way to edit ratings without battling?
Code:
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'sbdatabase.ladder2' doesn't exist
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1026)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:995)
at netbattle.database.registry.DatabaseImpl.postLadderMatch(DatabaseImpl.java:294)
at netbattle.NetBattleField.informVictory(NetBattleField.java:839)
at netbattle.NetBattleField.removeClient(NetBattleField.java:562)
at netbattle.NetClient.executeMessage(NetClient.java:622)
at netbattle.MessageHandler.run(MessageHandler.java:145)
at netbattle.NetClient.run(NetClient.java:420)
Code:
ERROR 1103 <42000>: Incorrect table name 'sbdatabase'
Code:
ALTER TABLE users ADD sbdatabase.ladders2 DOUBLE;
EDIT: I modified the code to
Code:
ALTER TABLE sbdatabase ADD ladders2 DOUBLE;
Code:
Error 1146 <42000>: table 'sbdatabase.sbdatabase' doesn't exist
Also is there a way to edit ratings without battling?