a3126907 发表于 2012-11-8 20:31:03

冒险岛V105一键端出现问题了,求各位大神帮小弟一下


D:\Bugger>color B
D:\Bugger>com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:
Could not create connection to database server. Attempted reconnect 3 times. Giv
ing up.
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
      at com.mysql.jdbc.Util.getInstance(Util.java:384)
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:929)
      at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:
2226)
      at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2127)
      at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:774)
      at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
      at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:375)
      at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:289)
      at java.sql.DriverManager.getConnection(Unknown Source)
      at java.sql.DriverManager.getConnection(Unknown Source)
      at database.DatabaseConnection.connectToDB(DatabaseConnection.java:111)
      at database.DatabaseConnection.getConnection(DatabaseConnection.java:45)
      at server.ServerProperties.<clinit>(ServerProperties.java:191)
      at server.Start.run(Start.java:55)
      at server.Start.main(Start.java:187)
Caused by: java.sql.SQLException: Access denied for user 'tropik'@'localhost' (u
sing password: YES)
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:919)
      at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4004)
      at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1284)
      at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:
2172)
      ... 17 more
Exception in thread "main" java.lang.ExceptionInInitializerError
      at server.Start.run(Start.java:55)
      at server.Start.main(Start.java:187)
Caused by: java.lang.NullPointerException
      at server.ServerProperties.<clinit>(ServerProperties.java:191)
      ... 2 more
请按任意键继续. . .

a3126907 发表于 2012-11-9 12:31:49

不要沉啊,求帮忙

打酱油滴 发表于 2012-12-14 22:45:09

再看遍教程吧。。。。。
http://bbs.ytmxd.com/forum.php?mod=viewthread&tid=52525&extra=page%3D3

sora 发表于 2012-12-25 08:34:35

jar支持問題。
页: [1]
查看完整版本: 冒险岛V105一键端出现问题了,求各位大神帮小弟一下