Initial client character set can be forced via the 'characterEncoding' property

2018-10-16 16:10:00
admin
原创
5822
摘要:Connection:Unknown initial character set index '45' received from server. Initial client character set can be forced via the 'characterEncoding' property

 Connection:Unknown initial character set index '45' received from server. Initial client character set can be forced via the 'characterEncoding' property

mysql连接的时候出现上面的错误

修改 etc下面的my.conf

加上如下一句话

msqld下面

collation-server=utf8_unicode_ci

关于utf8字符集,我们国内默认选择:utf8_general_ci而不是utf8_unicode_ci

    发表评论
    评论通过审核之后才会显示。
    文章分类
    联系方式
    联系人: 郑州-小万
    电话: 13803993919
    Email: 1027060531@qq.com
    QQ: 1027060531
    网址: www.wanhejia.com