Skip to content

Commit

Permalink
update to 5.6.35
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschwenn authored Jan 5, 2017
1 parent 2c48327 commit 8c534f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mmvMySQL/mmvmysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ sudo chmod 755 /usr/local/bin/pidof
fi
# LOOKS GOOD, LETS GRAB MySQL AND GET STARTED ...
echo "Downloading MySQL Installers ... may take a few moments"
curl -# -Lo ~/Downloads/MySQL.dmg https://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.33-osx10.11-x86_64.dmg
curl -# -Lo ~/Downloads/MySQL.dmg http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.35-macos10.12-x86_64.dmg
hdiutil attach -quiet ~/Downloads/MySQL.dmg
# PLIST TO ALTER MySQL INSTALLER TO NOT ATTEMPT TO INSTALL STARTUP ITEMS
curl -s -o ~/Downloads/MySQL-install.plist https://raw.githubusercontent.com/MacMiniVault/Mac-Scripts/master/mmvMySQL/install.plist
cd /Volumes/mysql-5.6.33-osx10.11-x86_64/
cd /Volumes/mysql-5.6.35-osx10.12-x86_64/
echo "..."
echo "..."
echo "Installing MySQL, administrator password required ..."
sudo installer -applyChoiceChangesXML ~/Downloads/MySQL-install.plist -pkg mysql-5.6.33-osx10.11-x86_64.pkg -target /
sudo installer -applyChoiceChangesXML ~/Downloads/MySQL-install.plist -pkg mysql-5.6.35-osx10.12-x86_64.pkg -target /
# MySQL START SCRIPT CHANGES PATH - LINKING PIDOF TO THE MySQL DIR
sudo ln -s /usr/local/bin/pidof /usr/local/mysql/bin/pidof
echo "..."
Expand Down Expand Up @@ -89,7 +89,7 @@ echo "..."
echo "..."
# UNMOUNT AND DELELTE DOWNLOADED MySQL INSTALLER
cd ~/
hdiutil detach -quiet /Volumes/mysql-5.6.33-osx10.11-x86_64/
hdiutil detach -quiet /Volumes/mysql-5.6.35-osx10.12-x86_64/
sleep 2
rm ~/Downloads/MySQL.dmg
rm ~/Downloads/MySQL-install.plist
Expand Down

0 comments on commit 8c534f8

Please sign in to comment.