转载自:http://blog.itpub.net/7916042/viewspace-1034372/
[root@db2 libexec]# ./mysqld --verbose --help | grep -A 1 'Default options'
Default options are read from the following files in the given order:
/etc/my.cnf ~/.my.cnf /usr/local/service/mysql3306/etc/my.cnf[@more@]
转载于:https://blog.51cto.com/wjcaiyf/1600838