【发布时间】: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