Quantcast
Channel: mamp
Viewing all articles
Browse latest Browse all 7

How to use a my.cnf configuration file with MAMP/MySQL

$
0
0

How to use a my.cnf configuration file with MAMP/MySQL

I don’t know why, but I was unable to get MySQL under MAMP 3.5 to read a my.cnf configuration file. I put that file in all of the usual places, but it wasn’t read. Then I tried to get it to read my configuration file by modifying this MAMP/MySQL startup script:

/Applications/MAMP/bin/startMysql.sh

but all I got then was an error message that these two options don’t work:

--defaults-file=FILE
--defaults-extra-file=FILE

I got those errors even though those options are shown in the mysqld_safe help output:


Viewing all articles
Browse latest Browse all 7

Trending Articles