日期:2014-05-17  浏览次数:20823 次

数据库编码问题
#create database 'sunnet' default-character=utf8;

ERROR 1064 (42000): 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 ''sunnet' default-character=utf8' at line 1
mysql database utf8

------解决方案--------------------
改成这样:

create database sunnet default charset utf8;