【踩坑】brew services list 报错 error

前言

brew services list命令展示brew管理的服务,Status报错:error

原因

  • 开机自启脚本可能出现了问题

解决问题

  • 我有一次在已安装Mysql8.0(brew install mysql)的情况下安装了Mysql5.7(brew install [email protected]),导致了开机自启脚本从原来的只有homebrew.mxcl.mysql.plist到现在多了一个[email protected],因为我现在已经卸载不用5.7了,所以我现在尝试手动删除了5.7的开机自启脚本,然后解决了问题
1
rm -f ~/Library/LaunchAgents/[email protected]

完成

参考文献

Github——uicosp