MySQL插入中文时出现Incorrect string value: '\xB3\xC2\xC8\xD9'

版权声明:版权声明:本文为博主原创文章,博客地址:http://blog.csdn.net/weixin_41969587,未经博主允许不得转载。 https://blog.csdn.net/weixin_41969587/article/details/84642216

解决方案:
进入相应的数据库,输入 set names gbk ;

猜你喜欢

转载自blog.csdn.net/weixin_41969587/article/details/84642216