L'information recherchée s'obtient en exécutant :
mysql --help ou
mysqld --help --verbose J'ai essayé cette commande sur ma machine :
mysql --help | grep "Default options" -A 1 Et elle a affiché :
Default options are read from the following files in the given order: /etc/my.cnf /usr/local/etc/my.cnf ~/.my.cnf Voyez si cela fonctionne pour vous.