【问题标题】:MySQL Server wont start in MAMP - No current solutions workMySQL 服务器不会在 MAMP 中启动 - 当前没有解决方案有效
【发布时间】:2018-05-24 03:31:56
【问题描述】:

我刚刚在 Mac 10.12.6 (Sierra) 上首次安装并打开了 MAMP。我设置了一个新的根文件夹,将端口设置为默认的 8888 和 8889,当我点击“启动服务器”时,什么也没有发生。我没有收到任何错误消息,装载轮只是旋转然后停止。 Apache Server 指示灯亮起,但 MySQL 服务器仍为空/空白,并且“打开 Webstart 页面”选项仍为灰色。

  1. 在终端中输入 killall -9 msqld(带和不带 sudo)返回“未找到匹配的进程”
  2. 在端口 80 和 3306 上运行不起作用,3307 也不起作用
  3. Applications/MAMP/db/mysql/ 文件夹中没有可供我删除的 ib_logfile。 只有 2 个文件夹和一个“mysql_upgrade_info”文件。我尝试删除它并没有帮助
  4. ^ 我的库/应用程序支持中也没有 MAMP 文件夹,以防万一
  5. 我卸载并重新安装了 MAMP,但什么也没做

这是我的 Apache 错误日志,以防有人需要帮助

[Sun Dec 10 23:12:59 2017] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 10 23:12:59 2017] [notice] Digest: done
[Sun Dec 10 23:12:59 2017] [notice] FastCGI: process manager initialized (pid 7201)
[Sun Dec 10 23:12:59 2017] [notice] Apache/2.2.32 (Unix) mod_wsgi/3.5 Python/2.7.13 PHP/7.1.8 mod_ssl/2.2.32 OpenSSL/1.0.2j DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0 configured -- resuming normal operations
[Sun Dec 10 23:13:12 2017] [notice] caught SIGTERM, shutting down
[Sun Dec 10 23:13:16 2017] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 10 23:13:16 2017] [notice] Digest: done
[Sun Dec 10 23:13:16 2017] [notice] FastCGI: process manager initialized (pid 7318)
[Sun Dec 10 23:13:16 2017] [notice] Apache/2.2.32 (Unix) mod_wsgi/3.5 Python/2.7.13 PHP/7.1.8 mod_ssl/2.2.32 OpenSSL/1.0.2j DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0 configured -- resuming normal operations
[Sun Dec 10 23:14:42 2017] [notice] caught SIGTERM, shutting down
[Sun Dec 10 23:14:44 2017] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 10 23:14:44 2017] [notice] Digest: done
[Sun Dec 10 23:14:44 2017] [notice] FastCGI: process manager initialized (pid 8186)
[Sun Dec 10 23:14:44 2017] [notice] Apache/2.2.32 (Unix) mod_wsgi/3.5 Python/2.7.13 PHP/7.1.8 mod_ssl/2.2.32 OpenSSL/1.0.2j DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0 configured -- resuming normal operations
[Sun Dec 10 23:17:52 2017] [notice] caught SIGTERM, shutting down
[Sun Dec 10 23:17:54 2017] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 10 23:17:54 2017] [notice] Digest: done
[Sun Dec 10 23:17:54 2017] [notice] FastCGI: process manager initialized (pid 9256)
[Sun Dec 10 23:17:54 2017] [notice] Apache/2.2.32 (Unix) mod_wsgi/3.5 Python/2.7.13 PHP/7.1.8 mod_ssl/2.2.32 OpenSSL/1.0.2j DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0 configured -- resuming normal operations
[Sun Dec 10 23:18:27 2017] [notice] caught SIGTERM, shutting down
[Sun Dec 10 23:18:29 2017] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 10 23:18:29 2017] [notice] Digest: done
[Sun Dec 10 23:18:29 2017] [notice] FastCGI: process manager initialized (pid 9736)
[Sun Dec 10 23:18:29 2017] [notice] Apache/2.2.32 (Unix) mod_wsgi/3.5 Python/2.7.13 PHP/7.1.8 mod_ssl/2.2.32 OpenSSL/1.0.2j DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0 configured -- resuming normal operations

【问题讨论】:

    标签: mysql mamp


    【解决方案1】:

    在同一版本的 OSX 上遇到相同的问题,尝试了相同的修复程序,但没有任何效果,因此不得不删除 MAMP 并安装旧版本 (3.5.2) - https://www.mamp.info/en/downloads/older-versions/

    不是一个理想的解决方案,但我已经让 MAMP 再次运行。

    【讨论】:

      猜你喜欢
      • 2014-06-20
      • 2017-04-03
      • 2022-01-02
      • 2012-07-31
      • 2015-09-15
      • 1970-01-01
      • 2013-04-07
      • 2020-02-06
      • 2017-06-03
      相关资源
      最近更新 更多