Created
October 5, 2016 19:00
-
-
Save dgreenway/7be6a062ee3d2baa55fd5ddf11a3557b to your computer and use it in GitHub Desktop.
Find the locations searched for mysql.cnf files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ which mysqld | |
/usr/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment