不知道是我改假人数量出错,还是被儿子关了电源开关(电脑断电)导致,大佬帮看看什么原因
java.sql.SQLException: Table '.\l2scripts\characters' is marked as crashed and should be repaired
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:998)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3835)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3771)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2531)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1618)
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1549)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
at jf.gameserver.idfactory.IdFactory.cleanUpDB(IdFactory.java:84)
at jf.gameserver.idfactory.IdFactory.<init>(IdFactory.java:45)
at jf.gameserver.idfactory.BitSetIDFactory.<init>(BitSetIDFactory.java:32)
at jf.gameserver.idfactory.IdFactory.<clinit>(IdFactory.java:32)
at jf.gameserver.GameServer.<init>(GameServer.java:177)
at jf.gameserver.GameServer.main(GameServer.java:390)
[21:15:07] ERROR BitSet ID Factory could not be initialized correctly!
java.sql.SQLException: Table '.\l2scripts\characters' is marked as crashed and should be repaired
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:998)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3835)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3771)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2531)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2489)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1446)
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
at jf.gameserver.idfactory.IdFactory.extractUsedObjectIDTable(IdFactory.java:188)
at jf.gameserver.idfactory.BitSetIDFactory.initialize(BitSetIDFactory.java:46)
at jf.gameserver.idfactory.BitSetIDFactory.<init>(BitSetIDFactory.java:33)
at jf.gameserver.idfactory.IdFactory.<clinit>(IdFactory.java:32)
at jf.gameserver.GameServer.<init>(GameServer.java:177)
at jf.gameserver.GameServer.main(GameServer.java:390)