Install
- Download a x64 bit (.dmg) copy from MySQL website
- Install it
- Also install the Preferences Pane
Troubleshoot if MySQL wont install or a version (previous/latest) is already installed.
Uninstall
- Make sure MySQL is not running
- Open Terminal
- Type in Terminal:
sudo nano /etc/hostconfig - Enter your password, if asked for.
- Delete the following line if its there: “MYSQLCOM=-YES-”
- CTRL+X (This is the command for closing NANO, Enter the “Y” key to save the file if you changed it and exit nano).
- Type in Terminal
sudo rm /usr/local/mysql sudo rm -rf /usr/local/mysql* sudo rm -rf /Library/StartupItems/MySQLCOM sudo rm -rf /Library/PreferencePanes/My* sudo rm -rf /Library/Receipts/mysql* sudo rm -rf /Library/Receipts/MySQL* sudo rm /etc/my.cnf sudo rm -rf /var/db/receipts/com.mysql.mysql*
Posted via email from Abhishek Dev
No comments:
Post a Comment