Navicat连接mysql时,总是要设置字符集(set names utf8)。有一劳永逸的办法吗?
1、系统是centos7.3 ,mysql版本是5.7.24.
2、/etc/my.cnf的配置如图:
3、Navicat连接mysql时,show global variables like '%charac%'的查询结果和show variables like '%charac%'的查询结果如图:
Navicat连接mysql时,总是要设置字符集(set names utf8)。有一劳永逸的办法吗?
1、系统是centos7.3 ,mysql版本是5.7.24.
2、/etc/my.cnf的配置如图:
3、Navicat连接mysql时,show global variables like '%charac%'的查询结果和show variables like '%charac%'的查询结果如图: