MYSQL错误:Illegal mix of collations (gbk_chinese_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation '='

直接指导定数据库的创建编码

GBK:   CREATE DATABASE `test2` DEFAULT CHARACTER SET gbk COLLATE gbk_chinese_ci;

UTF8: CREATE DATABASE `test2` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

 

posted @ 2013-05-30 16:42  jshaibozhong  阅读(1042)  评论(0编辑  收藏  举报