MAMP – Where is the MySQL config file/my.cnf?

If you want to modify the MySQL configuration in MAMP, just create the my.cnf file by the following command

  • cp /Applications/MAMP/Library/share/mysql/my-medium.cnf /Applications/MAMP/Library/my.cnf

 

Now you can edit the /Applications/MAMP/Library/my.cnf and restart the server for those modifications.

Done =)

Reference: Create MySQL configuration file (my.cnf) on MAMP

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s