MySQL

Find Mysql Default Options

To find the my.conf file location use the following command:

]# mysql --help | grep "Default options" -A 1
Default options are read from the following files in the given order:
/etc/mysql/my.cnf /etc/my.cnf ~/.my.cnf