java保存报错解决for column 'name' at r

时间:2014-05-08 17:02:32   收藏:0   阅读:317

Incorrect string value: ‘\xE6\x98\xAF\xE6\xBB\xB4...‘ for column ‘name‘ at r

修改数据库的编码

ALTER DATABASE test CHARACTER SET utf8

ALTER TABLE hobby CONVERT TO CHARACTER SET utf8

ALTER TABLE person CONVERT TO CHARACTER SET utf8


java保存报错解决for column 'name' at r,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!