OK論壇

 找回密碼
 註冊
查看: 2068|回復: 2

SQL開啟問題

 關閉 [複製鏈接]
  • TA的每日心情
    郁悶
    2010-5-14 04:09 PM
  • 簽到天數: 4 天

    連續簽到: 0 天

    [LV.2]偶爾看看I

    發表於 2010-5-10 19:56:57 | 顯示全部樓層 |閱讀模式
    我是下載這個的:
    http://okayro.com/thread-129569-1-1.html

    但執行runserver-sql就會出現以下錯誤,
    請問是為什麼呢?

    [Info]: SVN Revision: 'Unknown'.
    [Status]: Done loading plugin 'UPnP'
    [Info]: Console Silent Setting: 0
    [Error]: Using the default user/password s1/p1 is NOT RECOMMENDED.
    [Notice]: Please edit your 'login' table to create a proper inter-server user/pa
    ssword (gender 'S')
    [Notice]: and then edit your user/password in conf/map_athena.conf (or conf/impo
    rt/map_conf.txt)
    [Error]:
    Not all IP addresses in map_athena.conf configured, autodetecting...
    [Info]: Defaulting to 屏蔽 as our IP address
    [Info]: Map Server IP Address : '屏蔽' -> '屏蔽'.
    [Info]: Char Server IP Address : '屏蔽' -> '屏蔽'.
    [Status]: Using SQL dbs: no
    [Notice]: Logging Item Picks to table `picklog`
    [Notice]: Logging GM Level 1 Commands to table `atcommandlog`
    [Notice]: Logging CHAT to table `chatlog`
    [Info]: Connecting to the Map DB Server....
    [SQL]: Access denied for user 'ragnarok'@'localhost' (using password: YES)
    .
    .
    Map server crashed! restarting in 15 seconds! press ctl+C to cancel restart!
    回復

    使用道具 舉報

  • TA的每日心情
    開心
    2024-1-7 03:17 PM
  • 簽到天數: 163 天

    連續簽到: 1 天

    [LV.7]常住居民III

    發表於 2010-5-10 20:22:56 | 顯示全部樓層
    是否有使用SQL架設
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

    發表於 2010-5-11 12:55:29 | 顯示全部樓層
    [SQL]: Access denied for user 'ragnarok'@'localhost' (using password: YES)

    重點在於紅字,存取被 MySQL 拒絕了

    通常問題點在於

    1.存取 MySQL 的帳號密碼錯誤

    2.*.conf 裡要存取 MySQL 的設定,前面的「//」你沒有刪除掉
    例如:
    //account.sql.db_hostname: 127.0.0.1
    //account.sql.db_port: 3306
    //account.sql.db_username: ragnarok
    //account.sql.db_password: ragnarok
    //account.sql.db_database: ragnarok
    //account.sql.codepage:
    //account.sql.case_sensitive: no
    //account.sql.account_db: login
    //account.sql.accreg_db: global_reg_value


    3.防火牆、防毒軟體相關權限
    回復 支持 反對

    使用道具 舉報

    您需要登錄後才可以回帖 登錄 | 註冊

    本版積分規則

    Archiver|手機版|小黑屋|OK討論區

    GMT+8, 2025-7-3 06:59 PM , Processed in 0.107170 second(s), 20 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回復 返回頂部 返回列表