ERROR 1366 (HY000) in mysql: Incorrect string value solution

1. After searching for relevant information, when the encoding set is set to utf8, the database still does not support Chinese, and the database version is 5.0. When the database encoding format is changed to gbk, the Chinese encoding problem can be solved.

default-character-set=gbk

Change the character set in my.ini to gbk.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326049547&siteId=291194637