你有一个错误在你的SQL语法。检查手册对应你的MySQL服务器版本为正确的语法使用近'默认的字符集= gbk ' 10线
创建表` cdb_access ` ( `标识` mediumint ( 8 )无符号非空默认为0 ' , ` FID法` smallint ( 6 )未签名非空默认为0 ' , ` allowview ` tinyint ( 1 )非空默认为0 , ` allowpost ` tinyint ( 1 )非空默认为0 ' , ` allowreply ` tinyint ( 1 )非空默认为0 ' , ` allowgetattach ` tinyint ( 1 )非空默认为0 ' , ` allowpostattach ` tinyint ( 1 )不空默认为0 ,主键( `标识` , ` FID法` ) )发动机=不存在歧义的默认字符集= gbk
原文:
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=gbk' at line 10
CREATE TABLE `cdb_access` ( `uid` mediumint(8) unsigned NOT NULL default '0', `fid` smallint(6) unsigned NOT NULL default '0', `allowview` tinyint(1) NOT NULL default '0', `allowpost` tinyint(1) NOT NULL default '0', `allowreply` tinyint(1) NOT NULL default '0', `allowgetattach` tinyint(1) NOT NULL default '0', `allowpostattach` tinyint(1) NOT NULL default '0', PRIMARY KEY (`uid`,`fid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk |