Stop foolishly changing the mysql encoding format.
There is a problem with the encoding of the .sql file, just change the encoding format of the sql file to utf-8.
How to modify mac?
vscode is the coolest.
Open the .sql file with vscode, and then click the code in the lower right corner. Then select "Save with Encoding"
Then just enter a space and save it.
View the encoding format of the file under Mac
vim file
:set fileencoding