How do I define the default MySQL 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 > Open Template > MySQL my.cnf > 5.7.30
- An editor window appears.
- If a warning message appears confirm with OK.
- Find the section
- Beneath the last line of this section add this line:
default-storage-engine = InnoDB
- Save (Apple + S) all changes made on "my.cnf"
- Close the editor window (Apple + W)
- Start the MAMP PRO servers.