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, it's strange :P

It reminds me my friend's problem. He was using password and he wasn't able to create a successful connection in Navicat.

Hmm check your loginserver, in Login and Password, if there isn't any 'space' while typing.

 

Access denied for user 'root    '@'localhost'

 

There is a space after root. If this doesn't help, I have no more ideas. :P

  • 0
Posted

Hmm check your loginserver, in Login and Password

 

Loginserver.prop :D

 

Login = root <--- See if there is no free space after the word

Password = root <--- See if there is no free space after the word

  • 0
Posted

In Login after root___ there is a space :D

Ahh, I forgot something.. you have to put also password above :P

 

URL = jdbc:mysql://localhost/acis

#URL = jdbc:hsqldb:hsql://localhost/acis

#URL = jdbc:sqlserver://localhost/database=acis/user=sa/password=root

 

Login = root

Password = root

  • 0
Posted

Errm, dunno wtf :D

Probably navicat don't want to listen your password :D

Well, try to do a 'test connection' in navicat. I mean, press 'Connection' type ur User Name and Password (root, root) and press 'Test Connection'.

If result will be positive, that mean you put wrong pass in loginserver.

  • 0
Posted

#URL = jdbc:sqlserver://localhost/database=acis/user=sa/password=root

Are you blind? # = commented. Is not needed to add password there. w00t

 

Your problem is too simple........

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

sword: YES)

Guest
This topic is now closed to further replies.


  • Posts

    • Hey MaxCheaters! 👋 Introducing L2Soon.com — a free international platform for Lineage 2 server announcements.   Why L2Soon? No more searching through dozens of forums and Discord servers. All new L2 server openings are in one place — updated daily, with real player online counts so you always know where people actually play.   Features: 🔔 Telegram Bot (@l2Soon_bot) — alerts 24h & 1h before server launch 📅 Accurate launch times — in your local timezone ⚔️ All chronicles — Interlude, High Five, GoD, Classic, Essence, Grand Crusade and more 🎯 Filters — by chronicle, rates (x1–x1000+) and server type (PvP, RvR, GvE, Craft, Low Rate...) ⭐ VIP servers — verified projects pinned at the top 🌍 Multi-language — EN, UK, RU, PT   Listing is completely FREE. 🔗 https://l2soon.com/en Feedback welcome — drop a comment or contact us via Telegram @l2Soon_bot
    • Download Lobby u need island for lobby Download Crow Island  
    • Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs    
    • L2-LORENA x100 MID RATE   Interlude Nostalgia Meets Modern Gameplay   OFFICIAL OPENING:  April 4 (Saturday)  19:00 UTC+1 ⸻  MAIN INFORMATION  Adena: x5  Drop: x10  Spoil: x10  Raid Boss: x10  Seal Stones: x2  Quests: x10 ⸻  FEATURES  GM Shop up to B-Grade  Full Buffer  Premium System (x2 bonuses)  AutoFarm – FREE for everyone ⸻  SERVER CONCEPT  Classic Interlude nostalgia  Enhanced with modern interface & mechanics  Balanced PvP & PvE gameplay  Active development & custom features ⸻  WHY JOIN L2-LORENA?  No Pay-to-Win  Smooth gameplay & stable server  Competitive PvP environment  Friendly & active community ⸻  JOIN US NOW L2-LORENA 100X <<< LINK Discord: https://discord.gg/TYZ88Tgx4b  Facebook: https://www.facebook.com/share/18kwbkaYZY/?mibextid=wwXIfr   L2-LORENA Link << Discord: https://discord.gg/TYZ88Tgx4b  Facebook: https://www.facebook.com/share/18kwbkaYZY/?mibextid=wwXIfr
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..