使用mysql插入insert into tb_emp values(1001,'张三1','码农',20000,'2020-01-01',10);
就出现了这段话[Err] 1366 - Incorrect string value: 'xE5xBCxA0xE4xB8x89...' for column 'ename' at row 1
尽管把数据库修改成utf8还是会,网上查找解决方案解决办法如下
alter table tb_dept(表名) convert to character set utf8 ;