用这个create database testtest character set gb2312;建库提示下面错误 ERROR 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 'DATABASE testtest CHARACTER SET gb2312' at line 1要如何建库
create database testtest character set=gb2312
用 create database testtest character set=gb2312 就OK
ERROR 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 'DATABASE testtest CHARACTER SET gb2312' at line 1要如何建库
create database testtest character set=gb2312
就OK
SET character_set_connection='gb2312'
试试
服务器和数据库在window系统中下就没有问题