Does MySQL included with MAMP not include a config file?

Viewed 77266

I can't seem to find the my.cnf or other config file for the MySQL that comes with MAMP. Does it not include one?

6 Answers

For MAMP 3.5 on Mac El Capitan, only this worked for me:

  1. Stop servers
  2. Create a my.cnf file in /Applications/MAMP/Library/
  3. Add your content into my.cnf like

    [mysqld] max_allowed_packet = 64M

  4. Save my.cnf

  5. Start servers

Not required to change ownership of file, it should work. Verify by running SHOW VARIABLES in phpmyadmin and look for your changed setting.

No, it doesn't come with the my.cnf file

Related