You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Mac(M3/Sequoia)原生包安装MySQL启动异常及配置问题求助

MySQL启动异常问题排查

我的环境

  • MacBook Pro M3
  • Sequoia系统

已执行操作

  1. 通过原生安装包完成MySQL安装
  2. 通过GUI工具修改配置文件,配置界面如下:
    mysql configuration gui
    配置内容:
[mysqld]
sql_mode=NO_ENGINE_SUBSTITUTION
  1. 点击应用配置

遇到的问题

  • MySQL实例启动后立即关闭
  • 指定错误日志/usr/local/mysql/data/mysqld.local.err未显示异常启动失败信息,日志内容如下:
sudo cat /usr/local/mysql/data/mysqld.local.err
2025-04-03T05:11:13.596784Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 9.2.0).
2025-04-03T05:11:15.600786Z 0 [Warning] [MY-010909] [Server] /usr/local/mysql/bin/mysqld: Forcing close of thread 3133  user: 'root'.
2025-04-03T05:11:15.600922Z 0 [Warning] [MY-010909] [Server] /usr/local/mysql/bin/mysqld: Forcing close of thread 2471  user: 'root'.
2025-04-03T05:11:16.181595Z 0 [System] [MY-010910] [Server] /usr/local/mysql/bin/mysqld: Shutdown complete (mysqld 9.2.0)  MySQL Community Server - GPL.
2025-04-03T05:11:16.181614Z 0 [System] [MY-015016] [Server] MySQL Server - end.

待解答疑问

  • MySQL实例为何启动后立即关闭?
  • 还可通过哪些路径查看相关日志?
  • 如何正确配置sql_mode = "NO_ENGINE_SUBSTITUTION"?

内容的提问来源于stack exchange,提问作者Jerry

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.13 14:52:14