Mysql character set and database engine modification method bitsCN.com
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.
For more details, see: http://www.111cn.net/database/mysql/41881.htm
BitsCN.com
The above is the mysql character set and database engine modification method _ MySQL content. For more information, please follow the PHP Chinese network (www.php1.cn )!