mysql 存储过程相关错误解决

来源:互联网 发布:sip服务器 linux 编辑:程序博客网 时间:2024/05/20 06:38
1:在Navicat中创建一个带参数的存储过程,输入参数执行时却出现以下错误:Procedure execution failed1054 - Unknown column 'XXX' in 'field list'解决:可在输入参数时用单引号把参数值括起来。
2:1267 - Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='解决:设置字符集一致就可以了,数据库+表+字段 三者一致;

原创粉丝点击