使用launchctl删除mysql

时间:2013-08-22 14:34:11

标签: mysql macos homebrew uninstall launchd

我正在尝试卸载旧的sql,以便我可以安装一个新的。我正在关注this帖子,但坚持launchctl unload

[~/Library/LaunchAgents]$ ls com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae.plist com.mysql.mysqld.plist com.facebook.videochat.ava.plist homebrew.mxcl.postgresql.plist

launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist launchctl: Couldn't stat("/Users/ava/Library/LaunchAgents/homebrew.mxcl.postgresql.plist"): No such file or directory nothing found to unload

为什么无法在文件中找到文件?

2 个答案:

答案 0 :(得分:12)

检查homebrew.mxcl.mysql

launchctl list   

删除

launchctl remove homebrew.mxcl.mysql

答案 1 :(得分:-1)

尝试使用此命令以解决您的问题:

  

$ brew服务停止mysql