-
-
Save Galch24/a6c7d339287ac14eb6e46f617d0c1c0d to your computer and use it in GitHub Desktop.
Revisions
-
tobi-pb revised this gist
Jun 5, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/sh wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.24-osx10.9-x86_64.tar.gz tar xfvz mysql-5.6* echo "stopping mamp" -
tobi-pb revised this gist
Jan 11, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,4 +24,5 @@ echo "starting mamp" sudo /Applications/MAMP/bin/start.sh echo "migrate to new version" /Applications/MAMP/Library/bin/mysql_upgrade -u root --password=root -h 127.0.0.1 -
tobi-pb created this gist
Dec 28, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ #!/bin/sh wget http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.22-osx10.9-x86_64.tar.gz tar xfvz mysql-5.6* echo "stopping mamp" sudo /Applications/MAMP/bin/stop.sh sudo killall httpd mysqld echo "creating backup" sudo rsync -a /Applications/MAMP ~/Desktop/MAMP-Backup echo "copy bin" sudo rsync -av mysql-5.6.*/bin/* /Applications/MAMP/Library/bin/ --exclude=mysqld_multi --exclude=mysqld_safe echo "copy share" sudo rsync -av mysql-5.6.*/share/* /Applications/MAMP/Library/share/ echo "fixing access (workaround)" sudo chmod -R o+rw /Applications/MAMP/db/mysql/ sudo chmod -R o+rw /Applications/MAMP/tmp/mysql/ echo "starting mamp" sudo /Applications/MAMP/bin/start.sh echo "migrate to new version" /Applications/MAMP/Library/bin/mysql_upgrade -u root --password=root