我正在使用 HeidiSQL 在 mySQL 中运行以下查询:
select distinct id,title from tablesales where title in (select title from customers).
我收到以下错误:
Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='
我正在使用 HeidiSQL 并尝试更改其中一个表中列的排序规则,但没有成功。有解决办法吗?
谢谢
最佳答案
希望这会有所帮助:http://forums.mysql.com/read.php?103,265345,265579
还有这个:http://ftp.nchu.edu.tw/MySQL/doc/refman/5.1/en/charset-collate-tricky.html
关于MySQL 排序规则不匹配,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17433534/