Jump to content
  • 0

[Help]Cant register gameserver .


Question

Posted

Someone could tell me what im doing wrong ???? Thanks you in advance! :-[

 

FATAL: Failed loading GameServerTable. Reason: Access denied for user 'root

'@'localhost' (using password: YES)

java.sql.SQLException: Access denied for user 'root     '@'localhost' (using pas

sword: YES)

       at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)

       at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)

       at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)

       at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:931)

       at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4031)

       at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1296)

       at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)

       at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2

371)

       at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)

       at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)

       at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)

       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:407)

       at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)

       at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java

:305)

       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:101)

       at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:208)

       at net.sf.l2j.loginserver.GameServerTable.loadRegisteredGameServers(Game

ServerTable.java:148)

       at net.sf.l2j.loginserver.GameServerTable.<init>(GameServerTable.java:87

)

       at net.sf.l2j.loginserver.GameServerTable.load(GameServerTable.java:69)

       at net.sf.l2j.gsregistering.GameServerRegister.main(GameServerRegister.j

ava:49)

Press any key to continue . . .

Recommended Posts

  • 0
Posted

Well, ~LoL~, this is not linked to 'root  '.

 

Probably Navicat dont want to listen password (he can't create a connection).

  • 0
Posted

lol man is too simple... go where you have your login (root) and rewrite it. or remove the spaces after it.

Yours: 'root    '

Must Be: 'root'

 

Without ''

 

Well, ~LoL~, its not related to 'root  '. If so, the error would look like this

 

Probably Navicat dont want to listen password (he can't create a connection).

 

if you don't know stop talking -beep-.

  • 0
Posted

lol man is too simple... go where you have your login (root) and rewrite it. or remove the spaces after it.

Yours: 'root    '

Must Be: 'root'

 

Without ''

 

if you don't know stop talking -beep-.

Thanks a lot Lol_Zoz.Also Sweets thanks for trying to help me.Problem solved :)
  • 0
Posted

The space next to password.I delete the space and worked properly :)

 

Lolz, I told it to you almost at beggining, shoot me.. :D

  • 0
Posted

Hahahaha finally i understood.Thanks a lot honestly for the support  ;D :D

 

Heh.. No problem, sometimes it happens :D

Guest
This topic is now closed to further replies.


×
×
  • Create New...