ERROR 1064 (42000) at line 7: 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 6mysql语句SET NAMES 'UTF8';--
-- Table structure for table `cdef`
--CREATE TABLE `cdef`(
id mediumint(8) unsigned NOT NULL auto_increment,
hash varchar(32) NOT NULL default '',
name varchar(255) NOT NULL default '',
PRIMARY KEY (id)
) TYPE=MyISAM;
-- Table structure for table `cdef`
--CREATE TABLE `cdef`(
id mediumint(8) unsigned NOT NULL auto_increment,
hash varchar(32) NOT NULL default '',
name varchar(255) NOT NULL default '',
PRIMARY KEY (id)
) TYPE=MyISAM;
错误提示:看下type附近错误,
type 改成 ENGINE
旧版使用type