# 方式一
ps -ef|grep mysql|grep 'my.cnf'
# 方式二
mysql --help|grep 'my.cnf'
# 方式三
find / -name my.cnf
默认的查找路径
/etc/my.cnf
/etc/mysql/my.cnf
/usr/local/etc/my.cnf
~/.my.cnf
参考 MySQL查看当前使用的配置文件my.cnf的方法
MySQL:查找my.cnf配置文件的路径
阅读 70
2023-05-13
# 方式一
ps -ef|grep mysql|grep 'my.cnf'
# 方式二
mysql --help|grep 'my.cnf'
# 方式三
find / -name my.cnf
默认的查找路径
/etc/my.cnf
/etc/mysql/my.cnf
/usr/local/etc/my.cnf
~/.my.cnf
参考 MySQL查看当前使用的配置文件my.cnf的方法
相关推荐
精彩评论(0)