原文:Procedure execution failed 1267 - Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='

把mysql里所有table的varchar字段的字符集,批量换成了utf mb utf mb unicode ci ,以便能保存一些表情,结果存储过程报错 这是因为临时存储表的编码和表的编码不符 所以在游标使用到的变量修改编码 即可 ...

2019-04-25 17:31 0 1658 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM