Problem Setup

Started by Nuno, December 30, 2016, 11:16:18 PM

Previous topic - Next topic

Nuno

Im trying to setup an instance, but im getting this error, looks like it dosent find the tables on the database but also dosent create them:
2016-12-30 17:13:38 START_MANAGER JTS3ServerMod 6.3.2 Hosting Edition (07.12.2016) Instance Manager started...
2016-12-30 17:13:38 CONFIG Loading InstanceManager config file from: /root/bots/config/JTS3ServerMod_InstanceManager.cfg
2016-12-30 17:13:38 CONFIG Bot chat command !exec is disabled!
2016-12-30 17:13:38 CONFIG Multi IP Mode disabled!
2016-12-30 17:13:38 LOGGER_SQL_CONNECT Successfully connected to MySQL server for logging!
2016-12-30 17:13:38 CONFIG MySQL mode enabled!
2016-12-30 17:13:38 MYSQL_ERROR Error while connecting to database: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'bots.jts3servermod_instances' doesn't exist
2016-12-30 17:13:38 JTS3ServerMod 6.3.2 Hosting Edition (07.12.2016): EXCEPTION
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'bots.jts3servermod_instances' doesn't exist
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.Util.getInstance(Util.java:408)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3970)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3906)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2677)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2503)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1369)
at de.stefan1200.jts3servermod.f.e(Unknown Source)
at de.stefan1200.jts3servermod.f.c(Unknown Source)
at de.stefan1200.jts3servermod.f.<init>(Unknown Source)
at de.stefan1200.jts3servermod.JTS3ServerMod.main(Unknown Source)

Nuno

I forgot i needed to import it, fixed

Stefan1200

Quote from: Nuno on December 30, 2016, 11:18:56 PM
I forgot i needed to import it, fixed

Please do this only using the install.php file. I guess you forgot to check the "create tables" check box. ;)