How to solve Chinese problems in mysql

Solution:

Modify the configuration file my.ini in mysql

 

Add the following code in [mysqld]:

character-set-ser

[mysqld]

character-set-server=utf8
collation-server=utf8_general_ci

[client]
default-character-set=utf8

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326677825&siteId=291194637