Hello, I recently built a Shoddy Battle Server, and was using MySQL. I did everthing the guide said, and conenct properly. I logged in witht he first user, but I cannot register another account. When I attempt to register an alternate account, I get this message from NetBeans.
If anyone could help? I set up a brand new Database, and it wont work.
Code:
Accepted new client: 127.0.0.1.
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column 'rating2' in 'field list'
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.addNewUser(DatabaseImpl.java:655)
at netbattle.NetClient.authenticateUser(NetClient.java:270)
at netbattle.NetClient.run(NetClient.java:374)
Client disconnected: 127.0.0.1.
If anyone could help? I set up a brand new Database, and it wont work.