[服务端问题] L2J mobius loginserver 錯誤

3
回复
1048
查看
打印 上一主题 下一主题
[复制链接]

微信扫一扫 分享朋友圈

  • TA的每日心情
    难过
    2023-1-27 00:54
  • 签到天数: 5 天

    [LV.2]莉莉丝

    1

    主题

    10

    帖子

    31

    祝福币

    L2CN新兵

    Rank: 1

    积分
    31
    楼主
    发表于 2023-1-21 23:09:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    [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)
    請問何解?

    帖子的最近访客





    上一篇:关于怪物仇恨和穿墙
    下一篇:亚丁362和388
    收藏
    收藏0
    回复

    使用道具 举报

  • TA的每日心情
    擦汗
    2023-4-6 07:56
  • 签到天数: 80 天

    [LV.6]斯佩西亚

    0

    主题

    84

    帖子

    444

    祝福币

    L2CN斗士

    Rank: 3Rank: 3

    积分
    444
    沙发
    发表于 2023-1-22 09:43:09 | 只看该作者
    打开login\config\LoginServer.ini文件
    查看url和password设置是否正确。
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    难过
    2023-1-27 00:54
  • 签到天数: 5 天

    [LV.2]莉莉丝

    1

    主题

    10

    帖子

    31

    祝福币

    L2CN新兵

    Rank: 1

    积分
    31
    板凳
     楼主| 发表于 2023-1-22 14:30:01 | 只看该作者
    lovlineage 发表于 2023-1-22 09:43
    打开login\config\LoginServer.ini文件
    查看url和password设置是否正确。

    大大,我的设置如下
    請问正確吗?
    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.

    # ---------------------------------------------------------------------------
    # Networking
    # ---------------------------------------------------------------------------

    # 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


    # ---------------------------------------------------------------------------
    # Database
    # ---------------------------------------------------------------------------

    # Specify the appropriate driver and url for your database.
    # Default: org.mariadb.jdbc.Driver
    Driver = org.mariadb.jdbc.Driver

    # Database URL
    # Default: jdbc:mariadb://localhost/l2jmobius?useUnicode=true&characterEncoding=utf-8&useSSL=false
    URL = jdbc:mariadb://localhost/l2jmobius?useUnicode=true&characterEncoding=utf-8&useSSL=false

    # Database user info (default is "root" but it's not recommended)
    Login = root

    # Database connection password
    Password = root

    # Default: 5
    MaximumDbConnections = 5
    回复 支持 反对

    使用道具 举报

  • TA的每日心情

    2024-4-7 18:48
  • 签到天数: 79 天

    [LV.6]斯佩西亚

    2

    主题

    105

    帖子

    1507

    祝福币

    L2CN骑士

    Rank: 4

    积分
    1507
    QQ
    地板
    发表于 2023-2-1 18:04:42 | 只看该作者
    数据库 名称:l2jmobius
                账号:root
                密码:root
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    赞助我们:L2CN与您快乐分享

    支付宝-月付

    微信-月付

    论坛唯一Q群:

    398-120-010

    地址:www.l2cn.com

    邮箱:850111905@qq.com

    Powered by L2CN单机论坛 © 2018-2019 Inc.   版权所有   

    L2CN单机论坛  沪ICP备15020893号-1