Home >Database >Mysql Tutorial >Example tutorial on modifying coding under Linux
Reference URL:;
# vi /etc/my.cnf [mysqld] init_connect='SET collation_connection = utf8_general_ci'init_connect='SET NAMES utf8'character-set-server=utf8 collation-server=utf8_general_ci skip-character-set-client-handshake
[client] default-character-set=utf8
[mysql]
default-character-set=utf8
Add the above class content!
The above is the detailed content of Example tutorial on modifying coding under Linux. For more information, please follow other related articles on the PHP Chinese website!