赞
踩
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (gbk_chinese_ci,COERCIBLE) for operatio;
数据库的表的编码和数据库编码不统一引起;比如原来是默认编码下创建的表;后来修改了数据库编码;
解决方法:
进入mysql:输入
alter table tablename convert to character set GBK;
ps(tablename 为表的名字,编码为gbk;自己修改;utf8或者其他)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。