[php]Mysql error description: Illegal mix of collations (gb2312_chinese_ci,IMPLICIT) and
Mysqlerrordescription:Illegalmixofcollations(gb2312_chinese_ci,IMPLICIT)and(gbk_chine...
Mysql error description: Illegal mix of collations (gb2312_chinese_ci,IMPLICIT) and (gbk_chinese_ci,IMPLICIT) for operation '='
是什么意思怎么解决,我刚才建立索引来的
gb2312_chinese_ci怎么能在数据库里面改啊
http://www.vpnall.com/2009/03/mysql-error-1267/ 展开
是什么意思怎么解决,我刚才建立索引来的
gb2312_chinese_ci怎么能在数据库里面改啊
http://www.vpnall.com/2009/03/mysql-error-1267/ 展开
展开全部
数据库的的编码不一样,造成冲突引起的,
set character_set_client =gb2312;
set character_set_connection =gb2312;
set character_set_database =gb2312;
set character_set_results =gb2312;
set character_set_server =gb2312;
set character_set_system =gb2312;
set collation_server = gb2312_chinese_ci;
set collation_database = gb2312_chinese_ci;
set collation_connection =gb2312_chinese_ci;
set character_set_client =gb2312;
set character_set_connection =gb2312;
set character_set_database =gb2312;
set character_set_results =gb2312;
set character_set_server =gb2312;
set character_set_system =gb2312;
set collation_server = gb2312_chinese_ci;
set collation_database = gb2312_chinese_ci;
set collation_connection =gb2312_chinese_ci;
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询