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!
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!
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_64
to remove the mysql foldersudo rm /usr/local/mysql
to remove the soft linkcd /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.launchd
The name of the other two packages are com.mysql.mysql and com.mysql.prefpaneAddendum
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.
sudo
to work you need to have administrator rights.
Commented
Oct 13, 2015 at 9:40
<dict> <key>date</key> <date>2015-10-12T23:24:29Z</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>
No receipt for 'com.mysql.prefpane' found at '/'.
All the paths to where mysql is installed is in the script.
Under /usr/local/mysql
the script has installed mysql - so it should just be deleting this mysql folder, that would remove it.
bash <(curl -Ls http://git.io/eUx7rg)
from here link