I installed this version of mysql with the script here, but I don't know how to remove it. It isn't in the applications folder. It's here:
I wish if someone could tell me how to completely remove it. Thanks!
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
To uninstall all files/packages installed by the shell script simply undo all commands executed in the script logged in with an admin account:
sudo rm -R /usr/local/mysql-5.6.26-osx10.8-x86_64to remove the mysql folder
sudo rm /usr/local/mysqlto remove the soft link
cd /Library/LaunchDaemons && ls
sudo rm com.oracle.oss.mysql.mysqld.plist.
sudo rm /etc/my.cnf
sudo rm -R /var/mysql
sudo pkgutil --forget package-id.
sudo pkgutil --forget com.mysql.launchdThe name of the other two packages are com.mysql.mysql and com.mysql.prefpane
To remove the MySQL installation from System Info -> Software -> Installations (which is a "cosmetic problem" only) remove the MySQL dict entry:
<dict> <key>date</key> <date>2015-10-13T15:06:35Z</date> <key>displayName</key> <string>MySQL 5.6.26-community</string> <key>displayVersion</key> <string></string> <key>packageIdentifiers</key> <array> <string>com.mysql.mysql</string> <string>com.mysql.prefpane</string> <string>com.mysql.launchd</string> </array> <key>processName</key> <string>installer</string> </dict>
by editing the file InstallHistory.plist in /Library/Receipts/ with
sudo nano /Library/Receipts/InstallHistory.plist or with TextWrangler.
All the paths to where mysql is installed is in the script.
/usr/local/mysql the script has installed mysql - so it should just be deleting this mysql folder, that would remove it.