0

When I modify the file mamp/tmp/mysql/my.cnf and then restart MySQL all changes are reverted back to the original state.

Does anyone know how to fix this? It seems that my.cnf is created every time MySQL starts.

oxfist
  • 749
  • 6
  • 22
Jakub Kohout
  • 1,854
  • 3
  • 21
  • 36

1 Answers1

0

File mamp/tmp/mysql/my.cnf is, as the path says, temporary. It's automatically generated on MySQL start based on other configs.

You should use MAMP/conf/my.cnf instead. If the file does not exist then create a new one.

Luke
  • 2,350
  • 6
  • 26
  • 41