FAQ - MySQL

Where is my my.cnf file located?

The configuration file my.cnf of MySQL can be found here: “/Applications/MAMP/tmp/mysql/my.cnf”. But you cannot edit this file directly. You must use the MAMP PRO interface to edit your “my.cnf” file. In the menu go to File > Open Template > MySQL (my.cnf) > 5.7.30.