这是字符集的事,与操作系统无关。用
show character set;可以显示可用字符集。

解决方案 »

  1.   

    mysql> show character set;
    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 'character set' at line 1
    不行阿
    弱弱:可以说详细点吗
      

  2.   

    是不你的linux数据库版本低啊,CREATE DATABASE `aaa` DEFAULT CHARACTER SET gb2312 COLLATE gb2312_chinese_ci 在win 5.0我试这正常,4.0中就提示出错的
      

  3.   

    估计是版本问题
    现在编译出了问题,在win下有碰上乱码,不管着先了