mysql中[Err] 1366 - Incorrect string value: '\xE5\x8D\x问题

时间:2022-06-10 20:13:38

问题描述:向数据库插入数据时出现:[Err] 1366 - Incorrect string value: '\xE5\x8D\x8E\xE5\xB8\x88' for column 'uaddr' at row 1

解决办法:将该表中的每一列的字符集都改为utf-8