Set the MySQL Default Storage Engine
The MySQL server of MAMP PRO uses the Default Storage Engine MyISAM. If you want to change this, you have to change the configuration file of the MySQL server. With this tutorial we want to show you how to manage this. As Default Storage Engine we are using InnoDB.
- Start MAMP PRO.
- Stop the MAMP PRO server if it is running.
- Select File > Edit Template > MySQL my.cnf
- An editor window appears.
- If a warning message appears confirm with OK.
- Find the section
[mysqld]
- Beneath the last line of this section add this line:
default-storage-engine = InnoDB
- The section
[mysqld]
now looks like this:
IMAGE - Save (Apple + S) all changes made on “my.cnf”
- Close the editor window (Apple + W)
- Start the MAMP PRO servers.