标题: L2J mobius loginserver 錯誤 [打印本页] 作者: little 时间: 2023-1-21 23:09 标题: L2J mobius loginserver 錯誤 [21/01 23:05:55] Database: Problem on initialize. java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 30,000 ms)
[21/01 23:05:56] Loading LoginController...
[21/01 23:05:56] Cached 10 KeyPairs for RSA communication.
[21/01 23:05:56] Loaded 127 server names.
[21/01 23:06:26] DatabaseFactory: Cound not get a connection. java.sql.SQLSyntaxErrorException: No connection available within the specified time (option 'connectTimeout': 30,000 ms)
請問何解?作者: lovlineage 时间: 2023-1-22 09:43
打开login\config\LoginServer.ini文件
查看url和password设置是否正确。作者: little 时间: 2023-1-22 14:30
大大,我的设置如下
請问正確吗?
Login Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# Bind ip of the LoginServer, use 0.0.0.0 to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: 0.0.0.0
LoginserverHostname = 0.0.0.0
# Default: 2106
LoginserverPort = 2106
# The address on which login will listen for GameServers, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: 127.0.0.1
LoginHostname = 127.0.0.1
# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014