Hi all,
I am facing an issue with the Database factory, where for some reason it loses connection. This happens if for a,longer period of time I haven't logged into the game, and at the next logon the errors will start:
2024.02.11 09:59:35,827 SEVERE 82 org.l2jmobius.commons.database.DatabaseFactory DatabaseFactory: Could not get a connection. java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 10,000 ms)
2024.02.11 09:59:36,707 SEVERE 88 org.l2jmobius.commons.database.DatabaseFactory DatabaseFactory: Could not get a connection. java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 10,000 ms)
2024.02.11 09:59:45,060 SEVERE 47 org.l2jmobius.commons.database.DatabaseFactory DatabaseFactory: Could not get a connection. java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 10,000 ms)
And the error keeps repeating each second, sometimes multiple times a second.
I tried restarting the GS but due to the error it cannot restart so the only option is to end task the GS. I checked my database, the mysql settings. Did a fresh reinstall of java, but the issue is there.
I will try to catch the error, but it will take some time since it doesnt happen all the time or while i'm logged in.
If anyone has faced this issue, or maybe have some hints in which direction to go, would appreciate it.
Thanks!