0

This is not a duplicate of another question. I really like MAMP as it simplifies development and am just trying to figure out how to enable general query log.

I am trying to enable the general query log in MAMP 3.4 for mac

What I have tried

  1. create file /Applications/MAMP/logs/mysql_sql.log
  2. chmod 777 /Applications/MAMP/logs/mysql_sql.log

  3. add the following by editing template my.cnf to the mysql section

    general_log = 1 log = /Applications/MAMP/logs/mysql_sql.log

  4. Restart mysql

When I run queries I do not get anything written to that file.

Am I missing a step? My other changes such as mode take affect; just not this log.

Chris Muench
  • 497
  • 3
  • 11
  • 31

0 Answers0