![]() ![]() ![]() Sudo chmod -R o+rw /Applications/MAMP/tmp/mysql/ Sudo chmod -R o+rw /Applications/MAMP/db/mysql/ Sudo rsync -arv -progress mysql-5.7.*/share/* /Applications/MAMP/Library/share/ Sudo rsync -arv -progress mysql-5.7.*/bin/* /Applications/MAMP/Library/bin/ -exclude=mysqld_multi -exclude=mysqld_safe Sudo rsync -arv -progress /Applications/MAMP ~/Desktop/MAMP-Backup I just saved in a file named 'mamp-migrate.sh' to my Desktop. Here's the bash script I used to do all the above in one fell swoop. Download and Install MySQL 5.7.*įirstly we're going to need to get a version of MYSQL 5.7 that's compatible with our Operating System, backup our existing MAMP setup (you know, just in case) and migrate MAMP to use it. Lets' update the version of MySQL MAMP uses out of the box and be done with it.įirstly here was my setup: OS. MAMP do document a method to setup a separate instance of MySQL 5.7 that runs in parallel to their packaged 5.6 version, but you have to manage multiple ports and the databases get stored in separate places etc etc. I wanted to live life on the edge and use the latest and greatest so here are my steps navigating some of the 'gotchas' and using some wizardry to get it playing nicely.ĭISCLAIMER. Why they don't with 5.7 is beyond me (it was first released in 2013!) but that's by the by. Out of the box MAMP PRO v4.4 comes with a flavour of MySQL 5.6 (at the time of writing it's 5.6.38 specifically). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |