时间:2021-07-01 10:21:17 帮助过:10人阅读
# 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
添加上述类容!
以上就是在Linux下修改编码的实例教程的详细内容,更多请关注Gxl网其它相关文章!