Formula `mysql` is not installed

放肆的年华 提交于 2020-01-13 09:36:22

问题


I'm trying to install mysql using brew services start mysql as per the website instructions but it gives me an error:

Formula `mysql` is not installed.

I already did a full uninstall on my XAMPP server.

Terminal:

Dylans-Macbook:~ dylandude$ brew install mysql@5.7
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
ansible                    jpeg-turbo                 phplint
ccrypt                     mapcrafter                 skinny
dxpy                       mikutter
jenkins-job-builder        pgcli

Warning: mysql@5.7 5.7.23 is already installed and up-to-date
To reinstall 5.7.23, run `brew reinstall mysql@5.7`
Dylans-Macbook:~ dylandude$ brew services start mysql
Error: Formula `mysql` is not installed.

回答1:


You have installed the version 5.7 of MySQL with:

brew install mysql@5.7

So you have to start the service with:

brew services start mysql@5.7


来源:https://stackoverflow.com/questions/51573145/formula-mysql-is-not-installed

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!