确定 Mysql 使用的配置文件是哪个

2018-11-22  本文已影响6人  saronic
$which mysqld
/user/sbin/mysqld
$ /usr/sbin/mysqld --verbose --help | grep -A 1 "Default options"
Default options are read from the following files in the given order:
/etc/mysql/my.cnf ~/.my.cnf /usr/etc/my.cnf
上一篇下一篇

猜你喜欢

热点阅读