JAthena.Net v1.07 建立 SQL資料庫錯誤
本帖最後由 qazwsxedc 於 2010-7-17 08:34 PM 編輯請問大大們 我要用SQL開伺服器
但是要匯入SQL檔就會跳出下列文字
解除安裝重開機 又安裝好幾次也是一樣
請問是哪裡出問題 謝謝指教..
錯誤
SQL 語法:
# Jathena.Net Full Install SQL-Script(MySQL version)
# ========================================================
# Create database
# --------------------------------------------------------
# ========================================================
# Create Table : `cart_inventory`
# --------------------------------------------------------
CREATE TABLE `cart_inventory` (
`id` bigint( 20 ) unsigned NOT NULL AUTO_INCREMENT ,
`char_id` int( 11 ) NOT NULL default '0',
`nameid` int( 11 ) NOT NULL default '0',
`amount` int( 11 ) NOT NULL default '0',
`equip` mediumint( 8 ) unsigned NOT NULL default '0',
`identify` smallint( 6 ) NOT NULL default '0',
`refine` tinyint( 3 ) unsigned NOT NULL default '0',
`attribute` tinyint( 4 ) NOT NULL default '0',
`card0` int( 11 ) NOT NULL default '0',
`card1` int( 11 ) NOT NULL default '0',
`card2` int( 11 ) NOT NULL default '0',
`card3` int( 11 ) NOT NULL default '0',
`broken` bigint( 20 ) unsigned NOT NULL default '0',
`exp` int( 11 ) NOT NULL default '0',
`endurance` int( 11 ) unsigned NOT NULL default '0',
`max_endurance` int( 11 ) unsigned NOT NULL default '0',
`sp_lv` int( 11 ) NOT NULL default '0',
PRIMARY KEY ( `id` ) ,
KEY `char_id` ( `char_id` ) ) TYPE = MYISAM ;
MySQL 傳回:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 21
感謝幫忙
自己解決了 好像是sql版本問題 有選擇BIG5嗎
然後匯入MAIN檔案 本帖最後由 qazwsxedc 於 2010-7-17 03:17 PM 編輯
大大你說 文字編碼檔 這個嗎?
那個不是要用UTF8 ? 剛剛也試過你講的 BIG5
也是一樣錯誤 UTF-8
很多人都有這個狀況,我都不知道為什麼=_= 打太快了 打成B = =
快煩死了 從早上用到現在
還是不行 ><"
頁:
[1]