MySQL Uninstall method under Mac OS x

Source: Internet
Author: User

Mac system MySQL has DMG installation files, but no uninstall program, only manually uninstall, more trouble

Uninstall process:

System Preferences-"mysql-" Stop the MySQL process

sudo rm-rf/usr/local/mysql*
sudo rm-rf/library/startupitems/mysqlcom
sudo rm-rf/library/preferencepanes/my*

Open file with VI sudo vim/etc /hostconfig Delete this line mysqlcom=-yes-

然后按esc退出到命令模式,输入:wq!回车保存(记得用sudo管理员权限,不然保存时会提示无法修改。)
rm -rf ~/Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
sudo rm -rf /var/db/receipts/com.mysql.*


MySQL Uninstall method under Mac OS x

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.