妻羞吾去脱她衣 发表于 2012-11-15 18:13:39

求解释,,求大神教,在线等呀

求解释- -不知道怎么搞,进了之后选择一区竟然是提示更新106 - - 求教阿,在线等

溡緔↙袏鹏 发表于 2012-11-15 18:43:08

我的



D:\Bugger105>color B

D:\Bugger105>com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionExceptio
n: Could not create connection to database server. Attempted reconnect 3 times.
Giving 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: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communicatio
ns link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driv
er has not received any packets from the server.
      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.SQLError.createCommunicationsException(SQLError.java:1
118)
      at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)
      at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:
2168)
      ... 17 more
Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.<init>(Unknown Source)
      at java.net.Socket.<init>(Unknown Source)
      at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.ja
va:256)
      at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
      ... 18 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
请按任意键继续. . .

幻影 发表于 2012-11-15 19:34:08

楼主端口绑定失败,表示端口已经被占用.
沙发数据库连接失败,表示数据库米有启动或连接错误.
页: [1]
查看完整版本: 求解释,,求大神教,在线等呀