MariaDB:在Linux下修改编码

参考网址:http://www.cnblogs.com/vingi/articles/4302330.html

# 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

添加上述类容!

MariaDB:在Linux下修改编码

上一篇:日志那点事儿——slf4j源码剖析


下一篇:Jace 上新建 Station 配置 笔记