【问题标题】:MySQL brew cannot run on macOS Monterey?MySQL brew 无法在 macOS Monterey 上运行?
【发布时间】:2021-12-15 21:53:55
【问题描述】:

从 macOS Big Sur 更新到 Monterey 后,MySQL 突然停止工作(天真)。本地 Laravel 开发环境突然失去与 MySQL 的连接。无法正确调试(仍在学习),因此决定通过 brew 进行全新的 MySQL 安装。之前也是通过 brew 安装的。

在最后一步,mysql_secure_installation 显示:

Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

brew services start mysql

Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/stranger/Library/LaunchAgents/homebrew.mxcl.mysql.plist` exited with 5.

我做错了吗?为什么会突然下降?

谢谢!

【问题讨论】:

标签: mysql laravel macos laravel-valet macos-monterey


【解决方案1】:

不是解决方案,但根据 MySQL 文档,Monterey 还不是一个受支持的平台。

MySQL Supported Platforms

【讨论】:

  • 您的答案可以通过额外的支持信息得到改进。请edit 添加更多详细信息,例如引用或文档,以便其他人可以确认您的答案是正确的。你可以找到更多关于如何写好答案的信息in the help center
猜你喜欢
  • 2022-01-17
  • 2023-02-08
  • 2019-08-17
  • 1970-01-01
  • 2022-10-05
  • 2021-12-12
  • 2022-07-22
  • 1970-01-01
  • 2022-08-16
相关资源
最近更新 更多