ERROR 1366 (HY000): Incorrect string value: ‘\xE5\x8D\x8E\xE4\xB8\xBA‘ for column ‘XXX‘ at row 1

Open the "hidden item" of the file manager, enter %ProgramData% in the address bar of the file manager
insert image description here
to
insert image description here
find the MySQL folder, enter
insert image description here
the folder and find the my. Try changing it to utf8) Open the mysql console and execute the following command ALTER TABLE TABLE_NAME CONVERT TO CHARACTER SET utf8mb4;
insert image description here


insert image description here
insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/m0_60266328/article/details/130591199