1. 找到mysqld的路径
which mysqld
2. /usr/local/bin/mysqld --verbose --help |grep -A 1 'Default options'
3. 下面就是my.cnf的路径