Mysql发生Incorrect string value: ‘\xE5\x90\x8D\xE7\xA7\xB0‘异常

这是我在新建表后插入数据发生得异常,该异常是因为插入中文导致得编码异常 1366 - Incorrect string value: ‘\xE5\x90\x8D\xE7\xA7\xB0’ for column ‘testname’ at row 1 时间: 0.034s 我们可以通过一条语句查看当前表中得格式使用的是latin1 show create table test; 我们现在只需要把表编
相关文章
相关标签/搜索