SQL错误:1267 - 操作的非法混合(utf8_general_ci,IMPLICIT)和(utf8_persian_ci,IMPLICIT)' ='

时间:2016-12-04 06:30:40

标签: sql mysql-error-1064 mybb mysql-error-1267

MyBB SQL错误

MyBB遇到内部SQL错误,无法继续。

SQL错误:

public class PicturesHolder extends RecyclerView.ViewHolder {

    ImageView imageView;

    public PicturesHolder(View itemView)
    {
        super(itemView);
        imageView = (ImageView) itemView.findViewById(R.id.picture_view);

    }

    public void setImageView(ImageView imageView) {
        this.imageView = imageView;
    }
}

查询:

1267 - Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_persian_ci,IMPLICIT) for operation '='

请联系MyBB Group获取技术支持。

image1

image 2

1 个答案:

答案 0 :(得分:0)

检查 Ross Smith II 的解决方案。他写了一篇关于在sql语句中定义校对的文章。

Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='