mysql的charset和版本有关系么?为什么我的会出错?
CREATE TABLE agree (
agreeid int(10) NOT NULL auto_increment,
postid int(10) NOT NULL default '0',
user varchar(50) NOT NULL default '',
agree tinyint(1) NOT NULL default '0',
date int(10) unsigned NOT NULL default '0',
PRIMARY KEY (agreeid),
KEY postid (postid)
) TYPE=MyISAM DEFAULT CHARSET=latin1;
错误为:#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 'DEFAULT CHARSET=latin1' at line 26
charset应该都是默认的吧?