sudo rm /usr/local/mysql
sudo rm -rf /usr/local/var/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
# 有就删除,没有就算
sudo vim /etc/hostconfig (removed the line MYSQLCOM=-YES-)
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.*
mac卸载mysql5.7(亲测有效)
最新推荐文章于 2023-03-15 11:52:28 发布
该文描述了在Mac操作系统中,如何通过命令行彻底卸载MySQL,包括删除相关目录、启动项、配置文件以及系统receipts文件。
摘要由CSDN通过智能技术生成