How do I define the default MySQL Storage Engine?
The MySQL server in MAMP PRO uses MyISAM as the default storage engine. The following steps show how to change it to InnoDB.
-
Start MAMP PRO.
-
Stop the servers if they are running.
-
Go to File › Open Template › MySQL (my.cnf) › [version].
-
An editor window opens. If a warning message appears, confirm with OK.

-
Find the
[mysqld]section. -
Add the following line at the end of the
[mysqld]section:default-storage-engine = InnoDB -
Save the file (⌘ S).
-
Close the editor (⌘ W).
-
Start the servers.