For homebrew mysql installs, where's my.cnf? Does it install one?
Mysql – For homebrew thesql installs, where’s the.cnf
homebrewMySQL
Related Topic
- Mysql – concatenate multiple MySQL rows into one field
- Mysql – Which MySQL data type to use for storing boolean values
- Mysql – Should I use the datetime or timestamp data type in MySQL
- Mysql – Change MySQL default character set to UTF-8 in the.cnf
- Homebrew install specific version of formula
- Php – n’t I use thesql_* functions in PHP
- Macos – How to fix homebrew permissions
Best Answer
There is no my.cnf by default. As such, MySQL starts with all of the default settings. If you want to create your own my.cnf to override any defaults, place it at /etc/my.cnf.
Also, you can run
mysql --help
and look through it for the conf locations listed.As you can see, there are also some options for bypassing the conf files, or specifying other files to read when you invoke mysql on the command line.