ubuntu安装Mysql中文乱码问题

[client]
default-character-set = utf8

[mysqld_safe]
default-character-set = utf8

[mysqld]
init_connect='SET collation_connection = utf8_unicode_ci'
init_connect='SET NAMES utf8'
character-set-server=utf8
collation-server=utf8_unicode_ci
skip-character-set-client-handshake

[mysql]
default-character-set=utf8

猜你喜欢

转载自www.cnblogs.com/TheQi/p/10645239.html