未安装公式“mysql”

ajsxfq5m  于 2021-06-20  发布在  Mysql
关注(0)|答案(1)|浏览(694)

我正在尝试使用 brew services start mysql 按照网站说明,但它给了我一个错误:

Formula `mysql` is not installed.

我已经在xampp服务器上进行了完全卸载。
终端:

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.
pvcm50d1

pvcm50d11#

您已安装mysql版本5.7,其中包含:

brew install mysql@5.7

因此,您必须以以下方式启动服务:

brew services start mysql@5.7

相关问题