MySQL Illegal mix of collations (latin1_swedish_ci,COERCIBLE) and (utf8_general_ci,IMPLICIT) for operation 'UNION' 错误解决方法

来源:互联网 发布:抢商品软件 编辑:程序博客网 时间:2024/05/21 09:09

Illegal mix of collations (latin1_swedish_ci,COERCIBLE) and (utf8_general_ci,IMPLICIT) for operation 'UNION'

在MySql的安装目录下,有个my.ini文件,打开它:
将下面的值改为utf8如下:
default-character-set=utf8

重新启动mysql服务

原创粉丝点击