aabbkk85 發表於 2011-11-26 04:05:44

EA14934架設SQL 開啟一直跳出以下錯誤

本帖最後由 aabbkk85 於 2011-11-26 01:04 PM 編輯

各位好我想要架設SQL開機

依照網路上的教學去做   幾乎文都爬遍了   還是找不到問題再哪

架設程序幾乎也是一個口令一個動作目前卻卡在這個地方完全動不了

改了很多也一樣拿了乾淨的原開機檔再去修改也一樣 希望大家幫我看看是哪裡不對了

圖我先撤掉IP跑出來

以上是我的跳錯訊息

給大家看我的CONF設定

char:
// Athena Character configuration file.
// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.
// 伺服器 內部通信用 帳號密碼
userid:hh1234   (只是範例)
passwd:ii4321
// 伺服器名稱,可以使用ASCII 160 作為空格字元
// 注意:伺服器名稱中不能帶空格,否則公會圖會無法出現!
server_name: eAthena
// 伺服器顯示名稱:要在4至23位元組之間
wisp_server_name: Server
// 登錄伺服器 IP
// 角色伺服器連接登入伺服器的IP
// 如果你的伺服器運作在防火牆或是多網卡後面,你應該設定這裡
// 在這種情況下,你需要指定你希望能與外面通訊的的 IP 地址
login_ip: 我的NO-IP
// 如果你是一個網卡配置了多個IP,就需要配置這裡
// 注意:當你希望在多個伺服器上使用相同的端口時,此設置允許你在多個接口
// 中運行多個伺服器
bind_ip: 我的NO-IP
// 登錄伺服器連接埠
login_port: 6900
// 角色伺服器IP
// 角色伺服器對外的IP
// 如果你的伺服器運作在防火牆或是多網卡後面,你應該設定這裡
// 在這種情況下,你需要指定你希望能與外面通訊的的 IP 地址
char_ip:我的NO-IP

map:

// 伺服器 內部通信用 帳號密碼
userid:hh1234   (只是範例)
passwd:ii4321
// 角色伺服器的IP
// 地圖伺服器依據此IP連到角色伺服器
// 如果你的伺服器運作在防火牆或是多網卡後面,你應該設定這裡
// 在這種情況下,你需要指定你希望能與外面通訊的的 IP 地址
char_ip: 我的NO-IP
// 如果你是一個網卡配置了多個IP,就需要配置這裡
//這樣可以允許在一個網卡上運行多個athena伺服器
// 注意:當你希望在多個伺服器上使用相同的端口時,此設置允許你在多個接口中運行多個伺服器
bind_ip: 我的NO-IP
// 角色伺服器的連接埠
char_port: 6121
// 地圖伺服器的IP
// 如果你的伺服器運作在防火牆或是多網卡後面,你應該設定這裡
// 在這種情況下,你需要指定你希望能與外面通訊的的 IP 地址
map_ip: 我的NO-IP
// 地圖伺服器的連接埠
map_port: 5121

login:

// Athena Login Server configuration file.
// Translated by Peter Kieser <[email protected]>
// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.
// 登入伺服器的IP
// 如果你的伺服器運作在防火墻或是多網卡後面,你應該設定這裡
// 在這種情況下,你需要指定你希望能與外面通訊的的 IP 地址
bind_ip: 我的NO-IP
// 登陸伺服器連接埠設置
login_port: 6900

// Login數據庫的密碼為MD5碼 -
//<密碼加密> 不能在客戶端上使用這個
use_MD5_passwords: no
// 封閉帳號特性 (SQL only)
ipban.enable: yes
//ipban.sql.db_hostname: 127.0.0.1
//ipban.sql.db_port: 3306
//ipban.sql.db_username: ragnarok
//ipban.sql.db_password: ragnarok
//ipban.sql.db_database: ragnarok
//ipban.sql.codepage:
//ipban.sql.ipban_table: ipbanlist
// Dynamic password failure ipban system
ipban.dynamic_pass_failure_ban: yes
ipban.dynamic_pass_failure_ban_interval: 5
ipban.dynamic_pass_failure_ban_limit: 7
ipban.dynamic_pass_failure_ban_duration: 5
// Interval (in seconds) to clean up expired IP bans. 0 = disabled. default = 60.
// NOTE: Even if this is disabled, expired IP bans will be cleaned up on login server start/stop.
// Players will still be able to login if an ipban entry exists but the expiration time has already passed.
ipban_cleanup_interval: 60
//執行 DNS/IP 更新的間隔時間(分為單位). 預設為關閉
//假如你的伺服器使用會因時間改變的動態IP則啟用
//ip_sync_interval: 10
// DNS Blacklist Blocking
// If enabled, each incoming connection will be tested against the blacklists
// on the specified dnsbl_servers (comma-separated list)
use_dnsbl: no
//DNS伺服器 (以空白區隔)
dnsbl_servers: dnsbl.deltaanime.net
// 使用哪種 帳號 方式儲存
// 'auto' 自動選擇 (txt, sql, 等等)
// (預設 auto)
account.engine: auto
// 帳號資料的儲存設定
// TXT
account.txt.account_db: save/account.txt
account.txt.case_sensitive: no
// SQL
account.sql.db_hostname: 我的NO-IP
account.sql.db_port: 3306
account.sql.db_username:我的APPSERV帳號
account.sql.db_password:我的APPSERV密碼
account.sql.db_database: ragnarok
account.sql.codepage: big5
account.sql.case_sensitive: no
account.sql.account_db: login
account.sql.accreg_db: global_reg_value
import: conf/inter_athena.conf
import: conf/import/login_conf.txt

inter:

// 這裡可以設定您的MYSQL資料庫的編碼
// (MySQL 的版本至少要4.1以上)
default_codepage: big5

// 對於需設置的IP來說, 在Linux系統下面,建議你使用localhost 而不是127.0.0.1
// 在Windows系統下,你需要使用 127.0.0.1如果你遇到了下面的錯誤提示
// "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
// 你必須使用127.0.0.1,而不是localhost
// Global SQL settings
// overriden by local settings when the hostname is defined there
// (currently only the login-server reads/obeys these settings)
sql.db_hostname: 127.0.0.1
sql.db_port: 3306
sql.db_username: 我的APPSERV帳號
sql.db_password: 我的APPSERV密碼
sql.db_database: ragnarok
sql.codepage:
// MySQL Character SQL server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: 我的APPSERV帳號
char_server_pw: 我的APPSERV密碼
char_server_db: ragnarok
// MySQL Map SQL Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: 我的APPSERV帳號
map_server_pw: 我的APPSERV密碼
map_server_db: ragnarok
// MySQL Log SQL Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: 我的APPSERV帳號
log_db_pw: 我的APPSERV密碼
log_db_db: logs
log_codepage:
// 如果你對資料庫不瞭解,請不要更改以下參數
// 以下參數僅僅為開發人員和對資料庫瞭解並想進行資料庫規劃
// 的人員準備的
// 所有 MySQL 資料庫表格名稱
// Login 資料庫表格
loginlog_db: loginlog
// Char 資料庫表格
char_db: char
hotkey_db: hotkey
scdata_db: sc_data
cart_db: cart_inventory
inventory_db: inventory
charlog_db: charlog
storage_db: storage
reg_db: global_reg_value
skill_db: skill
interlog_db: interlog
memo_db: memo
guild_db: guild
guild_alliance_db: guild_alliance
guild_castle_db: guild_castle
guild_expulsion_db: guild_expulsion
guild_member_db: guild_member
guild_skill_db: guild_skill
guild_position_db: guild_position
guild_storage_db: guild_storage
party_db: party
pet_db: pet
friend_db: friends
mail_db: mail
auction_db: auction
quest_db: quest
// Map 資料庫表格
item_db_db: item_db
item_db2_db: item_db2
mob_db_db: mob_db
mob_db2_db: mob_db2
mapreg_db: mapreg
//使用 SQL 格式的 item_db 與 mob_db 嗎?
use_sql_db: no
// 發送主訊息時使用暱稱
// 訊息類似密頻的形式
main_chat_nick: Main
import: conf/import/inter_conf.txt

至於sql_files:

我改了main文件夾裡的一個東西

-- added standard accounts for servers, VERY INSECURE!!!
-- inserted into the table called login which is above
INSERT INTO `login` (`account_id`, `userid`, `user_pass`, `sex`, `email`) VALUES ('1', 'hh1234', 'ii4321', 'S','[email protected]');

我是先改了這兩個內部通信用帳密

然後才載入資料庫的

用過S1 P1 也一樣不行

跳錯訊息也一樣是那樣子

實在不知道該怎麼解決

也沒看到類似的修改解決方案

至於上面的conf設定無關的我就沒有貼出來了

希望大家能幫幫忙感恩~

-樂- 發表於 2011-11-26 09:50:21

回復 1# aabbkk85


   哪個教學叫你改main.sql的

aabbkk85 發表於 2011-11-26 10:36:01

本帖最後由 aabbkk85 於 2011-11-26 10:44 AM 編輯

原本是S1 p1

原本沒有改的時候使用S1p1

也是一樣跳錯

我現在再改回S1p1看看讓他跑一次

aabbkk85 發表於 2011-11-26 10:44:00

剛剛我將內部通信帳密改回s1 p1了(char map都有改)

然後sql-files也重新蓋回乾淨的

並且刪除原本的資料庫ragnarok

併且重新建立導入main了

但是還是沒辦法開

跳錯訊息相同

我想不是這個原因

載入資料庫我是用big5(應該沒錯吧)

確定有開著 NO-IP程式

之前使用127.0.0.1開單機也是跳同樣的錯誤

希望各位能指點迷津

-樂- 發表於 2011-11-26 11:00:41

本帖最後由 -樂- 於 2011-11-26 11:03 AM 編輯

回復 3# aabbkk85


   你有仔細看我打甚麼嗎?
// SQL
account.sql.db_hostname: 我的NO-IP← 哪個教學教你改這的
account.sql.db_port: 33066
account.sql.db_username:我的APPSERV帳號
account.sql.db_password:我的APPSERV密碼
account.sql.db_database: ragnarok
account.sql.codepage: big5 ← 這裡也不用動
account.sql.case_sensitive: no
account.sql.account_db: login
account.sql.accreg_db: global_reg_value

aabbkk85 發表於 2011-11-26 11:03:06

恩 有啊

但是我忘記是哪個教學說要把MAIN裡面的login改成跟內部通信帳密一樣


所以我才改的

現在我把全部都改回S1 P1了

如果說真的沒辦法的話

看能不能有人能一對一交我架設SQL私服

用積分買

-樂- 發表於 2011-11-26 11:03:49

回復 6# aabbkk85


   哪裡? 找給我看一下可以嗎?

aabbkk85 發表於 2011-11-26 11:15:50

http://www.okayro.com/thread-223743-1-1.html

找到了

應該是這篇沒錯

-樂- 發表於 2011-11-26 11:19:33

回復 8# aabbkk85


   他哪裡有寫要改main.sql?
   我只看到他要你改ragnarok的login資料表的s1/p1

aabbkk85 發表於 2011-11-26 11:34:46


後來我就沒有改了直接全部砍了重新弄

用原本的S1p1就跳上面那三個黑窗的錯誤訊息

aabbkk85 發表於 2011-11-26 11:35:07

補上一張圖

http://farm7.staticflickr.com/6032/6403179083_78553a5b4f_b.jpg

niniclaire 發表於 2011-11-26 12:07:12

檔案重下,SQL重裝,感覺會正常一點
因為我之前也亂改,這兩個重用卡實在

越乾淨越好....XD

aabbkk85 發表於 2011-11-26 13:03:12

抱歉
已經自行解決感謝各位的ˊ解答
頁: [1]
查看完整版本: EA14934架設SQL 開啟一直跳出以下錯誤