OK論壇

 找回密碼
 註冊
查看: 2665|回復: 17

SQL已經設定好了,但是還是有錯誤

 關閉 [複製鏈接]
  • TA的每日心情
    無聊
    2013-9-15 02:56 AM
  • 簽到天數: 9 天

    連續簽到: 1 天

    [LV.3]偶爾看看II

    發表於 2009-4-23 19:16:44 | 顯示全部樓層 |閱讀模式
    本帖最後由 阿薩斯 於 2009-4-24 07:51 PM 編輯

    appserv是處理好了,全部也都用好了,但是會什麼開起來還是錯誤,哪位大哥可以幫我看一下是什麼問題嗎,謝謝! charserv-sql


    [狀態]: Memory manager initialised: log/char-server_sql.exe.leaks
              (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
              (            eAthena Development Team presents            )
              (       ______  __    __                                  )
              (      /\  _  \/\ \__/\ \                                 )
              (    __\ \ \_\ \ \ ,_\ \ \___      __    ___      __      )
              (  /'__`\ \  __ \ \ \/\ \  _ `\  /'__`\/' _ `\  /'__`\    )
              ( /\  __/\ \ \/\ \ \ \_\ \ \ \ \/\  __//\ \/\ \/\ \_\.\_  )
              ( \ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ )
              (  \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ )
              (   _   _   _   _   _   _   _     _   _   _   _   _   _   )
              (  / \ / \ / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \  )
              ( ( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) )
              (  \_/ \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/  )
              (                                                         )
              (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)

    [資訊]: SVN Revision: 'Unknown'.
    [狀態]: Done loading plugin 'UPnP'
    [資訊]: 讀取設定檔 conf/char_athena.conf...
    [狀態]: eAthena server has been initialized
    [資訊]: Console Silent Setting: 0
    [資訊]: 讀取設定檔 conf/import/char_conf.txt...
    [資訊]: 完成讀取 conf/import/char_conf.txt.
    [資訊]: 完成讀取 conf/char_athena.conf.
    [資訊]: Reading the configuration file conf/subnet_athena.conf...
    [狀態]: Read information about 1 subnetworks.
    [資訊]: Reading file conf/inter_athena.conf...
    [資訊]: Reading file conf/import/inter_conf.txt...
    [資訊]: 完成讀取 conf/import/inter_conf.txt.
    [資訊]: 完成讀取 conf/inter_athena.conf.
    [錯誤]: Using the default user/password s1/p1 is NOT RECOMMENDED.
    [注意]: Please edit your 'login' table to create a proper inter-server user/pass
    word (gender 'S')
    [注意]: And then change the user/password to use in conf/char_athena.conf (or co
    nf/import/char_conf.txt)
    [資訊]: Finished reading the char-server configuration.
    [資訊]: interserver initialize...
    [資訊]: reading file conf/inter_athena.conf...
    [狀態]: set default_codepage : big5
    [狀態]: set char_server_ip : 127.0.0.1
    [狀態]: set char_server_port : 3306
    [狀態]: set char_server_id : ragnarok
    [狀態]: set char_server_pw : ragnarok
    [狀態]: set char_server_db : ragnarok
    [資訊]: reading file conf/import/inter_conf.txt...
    [資訊]: 完成讀取 conf/import/inter_conf.txt.
    [資訊]: 完成讀取 conf/inter_athena.conf.
    [資訊]: Connect Character DB server.... (Character Server)
    [SQL]: Access denied for user [email=]'ragnarok'@'localhost'[/email] (using password: YES)
    [除錯]: at ..\src\char_sql\inter.c:284
    .
    .
    Char server crashed! restarting in 15 seconds! press ctl+C to cancel restart!


    -------------------------------------------------------------------------------------------------------------------------

    logserv-sql




    [狀態]: Memory manager initialised: log/login-server_sql.exe.leaks
              (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
              (            eAthena Development Team presents            )
              (       ______  __    __                                  )
              (      /\  _  \/\ \__/\ \                                 )
              (    __\ \ \_\ \ \ ,_\ \ \___      __    ___      __      )
              (  /'__`\ \  __ \ \ \/\ \  _ `\  /'__`\/' _ `\  /'__`\    )
              ( /\  __/\ \ \/\ \ \ \_\ \ \ \ \/\  __//\ \/\ \/\ \_\.\_  )
              ( \ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ )
              (  \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ )
              (   _   _   _   _   _   _   _     _   _   _   _   _   _   )
              (  / \ / \ / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \  )
              ( ( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) )
              (  \_/ \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/  )
              (                                                         )
              (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)

    [資訊]: SVN Revision: 'Unknown'.
    [狀態]: Done loading plugin 'UPnP'
    [資訊]: 讀取設定檔 conf/login_athena.conf...
    [狀態]: 登入埠設定為 : 6900
    [資訊]: Console Silent Setting: 0
    [資訊]: 讀取設定檔 conf/inter_athena.conf...
    [資訊]: 讀取設定檔 conf/import/inter_conf.txt...
    [資訊]: conf/import/inter_conf.txt 讀取完成.
    [資訊]: conf/inter_athena.conf 讀取完成.
    [資訊]: 讀取設定檔 conf/import/login_conf.txt...
    [資訊]: conf/import/login_conf.txt 讀取完成.
    [資訊]: conf/login_athena.conf 讀取完成.
    [資訊]: Reading the configuration file conf/subnet_athena.conf...
    [狀態]: Read information about 1 subnetworks.
    [SQL]: Access denied for user [email=]'ragnarok'@'localhost'[/email] (using password: YES)
    [除錯]: at ..\src\login\loginlog_sql.c:110
    .
    .
    Login server crashed! restarting in 15 seconds! press ctl+C to cancel restart!


    --------------------------------------------------------------------------------------------------------------------------

    mapserv-sql


    [狀態]: Memory manager initialised: log/map-server_sql.exe.leaks
              (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
              (            eAthena Development Team presents            )
              (       ______  __    __                                  )
              (      /\  _  \/\ \__/\ \                                 )
              (    __\ \ \_\ \ \ ,_\ \ \___      __    ___      __      )
              (  /'__`\ \  __ \ \ \/\ \  _ `\  /'__`\/' _ `\  /'__`\    )
              ( /\  __/\ \ \/\ \ \ \_\ \ \ \ \/\  __//\ \/\ \/\ \_\.\_  )
              ( \ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ )
              (  \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ )
              (   _   _   _   _   _   _   _     _   _   _   _   _   _   )
              (  / \ / \ / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \  )
              ( ( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) )
              (  \_/ \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/  )
              (                                                         )
              (=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)

    [資訊]: SVN Revision: 'Unknown'.
    [狀態]: Done loading plugin 'UPnP'
    [資訊]: Console Silent Setting: 0
    [錯誤]: Using the default user/password s1/p1 is NOT RECOMMENDED.
    [注意]: Please edit your 'login' table to create a proper inter-server user/pass
    word (gender 'S')
    [注意]: and then edit your user/password in conf/map_athena.conf (or conf/import
    /map_conf.txt)
    [錯誤]:
    map_athena.conf 內的IP設置不完全, 正嘗試自動偵測...
    [資訊]: Defaulting to 113.61.184.7 as our IP address
    [資訊]: Map Server IP Address : '113.61.184.7' -> '113.61.184.7'.
    [資訊]: Char Server IP Address : '113.61.184.7' -> '113.61.184.7'.
    [狀態]: 使用 SQL格式的db資料?: no
    [注意]: Logging Item Picks to table `picklog`
    [注意]: Logging GM Level 40 Commands to table `atcommandlog`
    [注意]: Logging Item Picks to file `log/picklog.log`.txt
    [注意]: Logging GM Level 40 Commands to file `log/atcommandlog.log`.txt
    [資訊]: 連接至 Map DB Server....
    [SQL]: Access denied for user
    [email=]'ragnarok'@'localhost'[/email] (using password: YES)
    .
    .
    Map server crashed! restarting in 15 seconds! press ctl+C to cancel restart!

    評分

    參與人數 2積分 -50 現金 -50 積極性 -50 收起 理由
    小剪★ -30 -30 -30 閒置問題
    pan00017 -20 -20 -20 無意義標題

    查看全部評分

    回復

    使用道具 舉報

  • TA的每日心情
    慵懶
    2011-10-25 10:15 PM
  • 簽到天數: 121 天

    連續簽到: 0 天

    [LV.7]常住居民III

    發表於 2009-4-23 19:31:13 | 顯示全部樓層
    [狀態]: set char_server_id : ragnarok
    [狀態]: set char_server_pw : ragnarok
    [狀態]: set char_server_db : ragnarok
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    開心
    2024-9-22 07:14 PM
  • 簽到天數: 238 天

    連續簽到: 1 天

    [LV.7]常住居民III

    發表於 2009-4-24 01:22:15 | 顯示全部樓層
    map_athena.conf 內的IP設置不完全, 正嘗試自動偵測...

    檢查一下吧
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

    發表於 2009-4-24 01:51:15 | 顯示全部樓層
    #1

    [SQL]: Access denied for user 'ragnarok'@'localhost'

    被SQL拒絕掉了

    檢查連接SQL的 user & password 是否有錯
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    無聊
    2013-9-15 02:56 AM
  • 簽到天數: 9 天

    連續簽到: 1 天

    [LV.3]偶爾看看II

     樓主| 發表於 2009-4-24 19:42:35 | 顯示全部樓層
    本帖最後由 阿薩斯 於 2009-4-24 07:46 PM 編輯
    #1

    [SQL]: Access denied for user 'ragnarok'@'localhost'

    被SQL拒絕掉了

    檢查連接SQL的 user & password 是否有錯
    lendlice0001 發表於 2009-4-24 01:51 AM

    要去哪邊檢查?因為我不太懂SQL,所以正在學習...
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    無聊
    2013-9-15 02:56 AM
  • 簽到天數: 9 天

    連續簽到: 1 天

    [LV.3]偶爾看看II

     樓主| 發表於 2009-4-24 19:47:27 | 顯示全部樓層
    [狀態]: set char_server_id : ragnarok
    [狀態]: set char_server_pw : ragnarok
    [狀態]: set char_server_db : ragnarok
    bn5656 發表於 2009-4-23 07:31 PM

    那請問版大一下,你說的那三條文字要怎麼改才好?
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    無聊
    2013-9-15 02:56 AM
  • 簽到天數: 9 天

    連續簽到: 1 天

    [LV.3]偶爾看看II

     樓主| 發表於 2009-4-24 19:48:59 | 顯示全部樓層
    map_athena.conf 內的IP設置不完全, 正嘗試自動偵測...

    檢查一下吧
    pan00017 發表於 2009-4-24 01:22 AM

    嗯,謝謝版大,檢查好了!
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    無聊
    2013-9-15 02:56 AM
  • 簽到天數: 9 天

    連續簽到: 1 天

    [LV.3]偶爾看看II

     樓主| 發表於 2009-4-26 18:45:21 | 顯示全部樓層
    檢查是檢查好了,但是還是有兩個問題

    [狀態]: set char_server_id : ragnarok
    [狀態]: set char_server_pw : ragnarok
    [狀態]: set char_server_db : ragnarok
    (這要怎麼改才好?)

    #1
    [SQL]: Access denied for user 'ragnarok'@'localhost'
    被SQL拒絕掉了
    檢查連接SQL的 user & password 是否有錯
    (去哪邊檢查,我還不太知道...)
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    慵懶
    2011-10-25 10:15 PM
  • 簽到天數: 121 天

    連續簽到: 0 天

    [LV.7]常住居民III

    發表於 2009-4-26 19:20:52 | 顯示全部樓層
    [狀態]: set char_server_id : SQL 帳號
    [狀態]: set char_server_pw : SQL 密碼
    [狀態]: set char_server_db : ragnarok   SQL資料庫 明稱
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    無聊
    2013-9-15 02:56 AM
  • 簽到天數: 9 天

    連續簽到: 1 天

    [LV.3]偶爾看看II

     樓主| 發表於 2009-4-26 19:27:21 | 顯示全部樓層
    本帖最後由 阿薩斯 於 2009-4-26 07:30 PM 編輯
    [狀態]: set char_server_id : SQL 帳號
    [狀態]: set char_server_pw : SQL 密碼
    [狀態]: set char_server_db : ragnarok   SQL資料庫 明稱
    bn5656 發表於 2009-4-26 07:20 PM

    嗯,謝謝版大,我知道了、也搞定了!

    現在剩下最後一個問題了
    #1
    [SQL]: Access denied for user 'ragnarok'@'localhost'
    被SQL拒絕掉了
    檢查連接SQL的 user & password 是否有錯
    (我一直都不太懂的地方...要去哪邊檢查,要怎麼改?)
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    慵懶
    2011-10-25 10:15 PM
  • 簽到天數: 121 天

    連續簽到: 0 天

    [LV.7]常住居民III

    發表於 2009-4-26 20:19:19 | 顯示全部樓層
    先確定 你 按教學  架設嗎  
    你好像 都沒改
    回復 支持 反對

    使用道具 舉報

    該用戶從未簽到

    發表於 2009-4-26 21:56:58 | 顯示全部樓層
    #10
    如果你說:
    嗯,謝謝版大,我知道了、也搞定了!


    就不會再有
    [SQL]: Access denied for user 'ragnarok'@'localhost'
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    無聊
    2013-9-15 02:56 AM
  • 簽到天數: 9 天

    連續簽到: 1 天

    [LV.3]偶爾看看II

     樓主| 發表於 2009-4-27 12:04:08 | 顯示全部樓層
    本帖最後由 阿薩斯 於 2009-4-27 12:13 PM 編輯
    先確定 你 按教學  架設嗎  
    你好像 都沒改
    bn5656 發表於 2009-4-26 08:19 PM

    我很確定我是按教學設定的!
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    無聊
    2013-9-15 02:56 AM
  • 簽到天數: 9 天

    連續簽到: 1 天

    [LV.3]偶爾看看II

     樓主| 發表於 2009-4-27 12:09:36 | 顯示全部樓層
    #10
    如果你說:


    就不會再有
    lendlice0001 發表於 2009-4-26 09:56 PM

    不是,那是另一個版大的問題解決了!
    就差這一個問題(如下)
    [SQL]: Access denied for user [email=]'ragnarok'@'localhost'[/email]
    這是哪種問題?帳密沒有改好嗎?還是沒設定好不齊全?還是不正常的錯誤?
    要去哪邊改?哪邊檢查 ?就是很煩惱這一個問題
    回復 支持 反對

    使用道具 舉報

  • TA的每日心情
    無聊
    2013-9-15 02:56 AM
  • 簽到天數: 9 天

    連續簽到: 1 天

    [LV.3]偶爾看看II

     樓主| 發表於 2009-4-27 12:32:47 | 顯示全部樓層
    我自己處理好了,結果發現帳密沒打好,名稱沒改好= =...
    感謝大大的教導,讓我有個大大的進步!
    回復 支持 反對

    使用道具 舉報

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

    本版積分規則

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

    GMT+8, 2025-6-29 06:25 AM , Processed in 0.350812 second(s), 21 queries , Gzip On.

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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