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

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,数据库,person)