使用launchctl删除mysql

使用launchctl删除mysql,mysql,macos,homebrew,uninstallation,launchd,Mysql,Macos,Homebrew,Uninstallation,Launchd,我正在尝试卸载我的旧sql,以便安装新的sql。我正在关注帖子,但仍停留在launchctl unload [~/Library/LaunchAgents]$lscom.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae.plist com.mysql.mysqld.plist com.facebook.videochat.ava.plist homebrew.mxcl.postgresql.plist launc

我正在尝试卸载我的旧sql,以便安装新的sql。我正在关注帖子,但仍停留在
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:无法统计(“/Users/ava/Library/LaunchAgents/homebew.mxcl.postgresql.plist”):没有这样的文件或目录
未找到要卸载的内容


为什么文件存在时无法找到它?

请检查homebrew.mxcl.mysql

launchctl list   
除去

launchctl remove homebrew.mxcl.mysql

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

$brew服务停止mysql


这不应该是
launchctl unload homebrew.mxcl.postgresql
我从home dir运行了它。在您的数据库中搜索homebrew.mxcl.postgresql.plist文件mac@ParagBafna问题中显示了位置,没有问题。无法统计(“/Users/ava/Library/LaunchAgents/homebrew.mxcl.postgresql.plist”):没有此类文件或目录找不到要卸载的内容
brew服务停止mysql错误:未知命令:service
@argoden您的服务拼写错误。你应该加上“s”。无论如何,你可以尝试复制然后粘贴。