[英]Uninstall mysql on Lion?
Im currently using MAMP, but I installed the Mysql standalone before. 我目前正在使用MAMP,但之前我安装了Mysql独立版。 So how can I uninstall that mysql and make sure it doesn't affect on the MAMP MySQL.
那么如何卸载该mysql并确保它不会对MAMP MySQL产生影响。 Thanks.
谢谢。
Use the following list of commands to remove MySQL from OSX Lion : 使用以下命令列表从OSX Lion中删除MySQL:
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
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.*
Finally edit /etc/hostconfig
and remove the line MYSQLCOM=-YES-
最后编辑
/etc/hostconfig
并删除行MYSQLCOM=-YES-
Try the steps in this link 尝试此链接中的步骤
http://johnmcostaiii.net/2011/removing-mysql-osx-lion/ http://johnmcostaiii.net/2011/removing-mysql-osx-lion/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.