Jump to content

Question

Posted

Can You Give Me A Fast Answer On That Prob??

AwaitingCheckoutDefaultUser] ]
FATAL: Failed initializing database. Reason: Communications link failure due to
underlying exception:

** BEGIN NESTED EXCEPTION **

java.net.ConnectException
MESSAGE: Connection refused: connect

STACKTRACE:

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:271)
        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2744)
        at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:285)
        at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManag
erDataSource.java:119)
        at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:143)
        at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:132)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu
tomaticTestTable(C3P0PooledConnectionPoolManager.java:772)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled
ConnectionPool(C3P0PooledConnectionPoolManager.java:696)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:257)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:271)
        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(A
bstractPoolBackedDataSource.java:128)
        at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:112)
        at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:200)
        at net.sf.l2j.loginserver.L2LoginServer.<init>(L2LoginServer.java:117)
        at net.sf.l2j.loginserver.L2LoginServer.main(L2LoginServer.java:63)


** END NESTED EXCEPTION **



Last packet sent to the server was 0 ms ago.

Server terminated abnormaly


server terminated

Πιέστε ένα πλήκτρο για συνέχεια. . .

 

P.S. I have To Start Server In My Pc More Than 5 Months xD { Answer Me If Only You Know The Prob Thx.}

7 answers to this question

Recommended Posts

  • 0
Posted

enter the new ip based in the configuration file to specify the address of the external address of the database restart the database and it should work.

 

P.S the problem lies in the fact that you have two accounts defined as localhost and 127.0.0.1 to the lack of access and two for access just throw them now restart the database setting back to local

Guest
This topic is now closed to further replies.


×
×
  • Create New...