问题:
[SQL] select * from attachments where md5 in (select md5 from attachments_md5 where md5<>'0')
[Err] 1267 - Illegal mix of collations
(utf8mb4_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operation '='
如何解决呢?
先翻译问题说的啥

这个地方导致的。
本文探讨了在执行特定SQL查询时遇到的1267错误,即非法混合字符集问题。通过分析错误原因,提供了可能的解决方案,帮助读者理解并解决类似问题。
1822





