Здравствуйте.
При запуске логин сервера выдает:
net.sf.l2j.loginserver.data.manager.GameServerManager loadRegisteredGameServers
SEVERE: Error loading registered gameservers.
java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 30 000 ms)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:153)
at org.mariadb.jdbc.MariaDbPoolDataSource.getConnection(MariaDbPoolDataSource.java:239)
at net.sf.l2j.commons.pool.ConnectionPool.getConnection(ConnectionPool.java:47)
at net.sf.l2j.loginserver.data.manager.GameServerManager.loadRegisteredGameServers(GameServerManager.java:89)
at net.sf.l2j.loginserver.data.manager.GameServerManager.load(GameServerManager.java:50)
at net.sf.l2j.loginserver.data.manager.GameServerManager.<init>(GameServerManager.java:41)
at net.sf.l2j.loginserver.data.manager.GameServerManager$SingletonHolder.<clinit>(GameServerManager.java:183)
at net.sf.l2j.loginserver.data.manager.GameServerManager.getInstance(GameServerManager.java:178)
at net.sf.l2j.loginserver.LoginServer.<init>(LoginServer.java:65)
at net.sf.l2j.loginserver.LoginServer.main(LoginServer.java:37)
Caused by: java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 30 000 ms)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:171)
at org.mariadb.jdbc.internal.util.pool.Pool.getConnection(Pool.java:413)
at org.mariadb.jdbc.MariaDbPoolDataSource.getConnection(MariaDbPoolDataSource.java:237)
... 8 more
При запуске gameserver
net.sf.l2j.gameserver.idfactory.IdFactory setAllCharacterOffline
WARNING: Couldn't set characters offline.
java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 30 000 ms)
База создана в Navicat, database_installer отработал нормально.
RUSaCis[3.3], Win 7x64 (такая же история и на другой машине Win10x64), jdk-15.0.2_windows-x64_bin, ДБ mariadb-10.4.12-winx64, в конфиге loginserver.properties и server.properties пароль указан. Подскажите, плз, как исправить.
При запуске логин сервера выдает:
net.sf.l2j.loginserver.data.manager.GameServerManager loadRegisteredGameServers
SEVERE: Error loading registered gameservers.
java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 30 000 ms)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:153)
at org.mariadb.jdbc.MariaDbPoolDataSource.getConnection(MariaDbPoolDataSource.java:239)
at net.sf.l2j.commons.pool.ConnectionPool.getConnection(ConnectionPool.java:47)
at net.sf.l2j.loginserver.data.manager.GameServerManager.loadRegisteredGameServers(GameServerManager.java:89)
at net.sf.l2j.loginserver.data.manager.GameServerManager.load(GameServerManager.java:50)
at net.sf.l2j.loginserver.data.manager.GameServerManager.<init>(GameServerManager.java:41)
at net.sf.l2j.loginserver.data.manager.GameServerManager$SingletonHolder.<clinit>(GameServerManager.java:183)
at net.sf.l2j.loginserver.data.manager.GameServerManager.getInstance(GameServerManager.java:178)
at net.sf.l2j.loginserver.LoginServer.<init>(LoginServer.java:65)
at net.sf.l2j.loginserver.LoginServer.main(LoginServer.java:37)
Caused by: java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 30 000 ms)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:62)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:171)
at org.mariadb.jdbc.internal.util.pool.Pool.getConnection(Pool.java:413)
at org.mariadb.jdbc.MariaDbPoolDataSource.getConnection(MariaDbPoolDataSource.java:237)
... 8 more
При запуске gameserver
net.sf.l2j.gameserver.idfactory.IdFactory setAllCharacterOffline
WARNING: Couldn't set characters offline.
java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 30 000 ms)
База создана в Navicat, database_installer отработал нормально.
RUSaCis[3.3], Win 7x64 (такая же история и на другой машине Win10x64), jdk-15.0.2_windows-x64_bin, ДБ mariadb-10.4.12-winx64, в конфиге loginserver.properties и server.properties пароль указан. Подскажите, плз, как исправить.
Последнее редактирование: