0
mysql> SHOW VARIABLES LIKE "general_log%"; +------------------+---------------------------------------------------------------------------+ | Variable_name | Value | +------------------+---------------------------------------------------------------------------+ | general_log | OFF | | general_log_file | /Library/Application Support/appsolute/MAMP PRO/db/mysql/mini1-italic.log | +------------------+---------------------------------------------------------------------------+ 2 rows in set (0,00 sec) mysql> SET GLOBAL general_log = 'ON'; Query OK, 0 rows affected (0,02 sec) # Notez les \ pour échapper le chemin vers MAMP Pro mini1-italic:~ germain$ tail -f /Library/Application\ Support/appsolute/MAMP\ PRO/db/mysql/mini1-italic.log
DATE 03 Juil 2016