Skip to content

Commit

Permalink
Update for MySQL 5.6.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschwenn committed Jul 9, 2013
1 parent 64f7609 commit 53c6d5b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mmvMySQL/mmvmysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# AUTHOR: JONATHAN SCHWENN @JONSCHWENN #
# MAC MINI VAULT - MAC MINI COLOCATION #
# MACMINIVAULT.COM - @MACMINIVAULT #
# VERSION 1.00 RELEASE DATE FEB 27 2013 #
# VERSION 1.01 RELEASE DATE JUL 09 2013 #
# DESC: THIS SCRIPT INSTALLS MySQL on OSX #
#############################################
#REQUIREMENTS:
Expand All @@ -13,13 +13,13 @@
if [[ $(sw_vers -productVersion | grep '10.[7-9]') ]]
then
echo "Downloading MySQL Installers ... may take a few moments"
curl -s -o ~/Downloads/MySQL.dmg http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.10-osx10.7-x86_64.dmg
curl -s -o ~/Downloads/MySQL.dmg http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.12-osx10.7-x86_64.dmg
hdiutil attach -quiet ~/Downloads/MySQL.dmg
cd /Volumes/mysql-5.6.10-osx10.7-x86_64/
cd /Volumes/mysql-5.6.12-osx10.7-x86_64/
echo "..."
echo "..."
echo "Installing MySQL, administrator password required ..."
sudo installer -pkg mysql-5.6.10-osx10.7-x86_64.pkg -target /
sudo installer -pkg mysql-5.6.12-osx10.7-x86_64.pkg -target /
echo "..."
echo "..."
echo "Installing MySQL start up items..."
Expand Down Expand Up @@ -49,7 +49,7 @@ echo "Placing password on desktop..."
echo "..."
echo "..."
cd ~/
hdiutil detach -quiet /Volumes/mysql-5.6.10-osx10.7-x86_64/
hdiutil detach -quiet /Volumes/mysql-5.6.12-osx10.7-x86_64/
sleep 2
rm ~/Downloads/MySQL.dmg
echo "ALL DONE! Install Sequel Pro or phpmyadmin to administer MySQL"
Expand Down

0 comments on commit 53c6d5b

Please sign in to comment.