yuiping 發表於 2008-12-9 22:00:32

照教學的步驟做出了點問題?

我照著{ 教學 } JA.net v0.99fix3使用SQL架設教學的步驟作,
在導入資料庫時出現以下字樣,上網找了一下也無法解決,
請指點一下:

錯誤SQL 語法:
# Jathena++ Full Install SQL-Script(MySQL5.1 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 傳回: http://localhost/phpMyAdmin/themes/original/img/b_help.png
#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


奇怪,我都照步驟走的說,一開始就卡住!
頁: [1]
查看完整版本: 照教學的步驟做出了點問題?