为什么会出现此错误:此查询中操作“=”的排序规则 (utf8_general_ci,IMPLICIT) 和 (utf8_bin,NONE) 的非法混合?
询问:
select *,
(@page_path = concat(
@page_path,
chk_v_application_tree.alias
)) as path
from chk_v_application_tree
[Err] 1267 - 操作“=”时非法混合排序规则 (utf8_general_ci,IMPLICIT) 和 (utf8_bin,NONE)
Query:
select *,
(@page_path = concat(
@page_path,
chk_v_application_tree.alias
)) as path
from chk_v_application_tree
[Err] 1267 - Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_bin,NONE) for operation '='
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试:
因为您不能在 CONCAT 函数(如 CONCAT(utf8_general_ci, utf8_bin))中混合字符集编码。
Try:
As you may not mix charset encoding in an CONCAT function like CONCAT(utf8_general_ci, utf8_bin).