In Mac OS X, the default is none my.cnf If you need to customize mysql, copy any. CNF file in the following directory. I copy my- medim.cnf Documents
/usr/local/mysql/support-files/
Paste it into the following directory
/etc
And renamed my.cnf
, and then modify it
my.cnf
You can customize it.