Upgrade MySQL to version 5.7
You cannot upgrade the MAMP PRO instance of MySQL. However you can install a separate instance of MySQL 5.7 on your Mac.
Note: We cannot provide support for installing or maintaining your MySQL 5.7 installation.
-
Download the MySQL 5.7 Mac OS X 10.12 (x86, 64-bit), DMG Archive, or latest MySQL 5.7 release.
-
Complete the installation of MySQL 5.7.
-
Start your MySQL 5.7 server in System Preferences.
Once you have successfully installed MAMP PRO you can run both instances of MySQL, or just your new MySQL 5.7. You must run your MySQL installations on different ports if you run both simultaneously.
MySQL 5.7 data default location
The default location for your database data is /usr/local/mysql/data
.
Install Wordpress with MySQL 5.7
Create an empty database in MySQL, this example uses the default name “wordpress”. Confirm you are using port 3306 to connect to MySQL.