When you use phpmyadmin In the VM space to operate the database, if the MySQL Character Set displayed on the phpmyadmin homepage is cp1252WestEuropean (latin1), garbled characters will appear when we import data.
When you use phpmyadmin In the VM space to operate the database, if the MySQL Character Set displayed on the phpmyadmin homepage is cp1252 West European (latin1), garbled characters will appear when we import data.
MySQL Character Set: cp1252 West European (latin1) to solve the garbled Problem
When you use phpmyadmin In the VM space to operate the database, if the MySQL Character Set displayed on the phpmyadmin homepage is cp1252 West European (latin1), garbled characters will appear when we import data, the solution is:
There is a Language option on the right of the phpmyadmin home page, change the default Chinese-Chinese simplified-gb2312 to Chinese-Chinese simplified, then the MySQL character set on the left will become UTF-8 Unicode (utf8 ), garbled problem solved!
Phpmyadmin creates a database by default. The default database engine is innodb. If you want to change it to myisam with higher flexibility
In my. ini, find default-storage-engine = innodb and change it to myisam.