使用2233466866/lnmp 镜像 ,但是mysql启动不起来 提示如下

● mysqld.service - MySQL Server
   Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Wed 2021-06-16 18:38:21 CST; 1h 7min ago
     Docs: man:mysqld(8)
           http://dev.mysql.com/doc/refman/en/using-systemd.html

Jun 16 18:38:20 547e78dfa799 systemd[1]: Failed to start MySQL Server.
Jun 16 18:38:20 547e78dfa799 systemd[1]: Unit mysqld.service entered failed state.
Jun 16 18:38:20 547e78dfa799 systemd[1]: mysqld.service failed.
Jun 16 18:38:21 547e78dfa799 systemd[1]: mysqld.service holdoff time over, scheduling restart.
Jun 16 18:38:21 547e78dfa799 systemd[1]: Stopped MySQL Server.
Jun 16 18:38:21 547e78dfa799 systemd[1]: start request repeated too quickly for mysqld.service
Jun 16 18:38:21 547e78dfa799 systemd[1]: Failed to start MySQL Server.
Jun 16 18:38:21 547e78dfa799 systemd[1]: Unit mysqld.service entered failed state.
Jun 16 18:38:21 547e78dfa799 systemd[1]: mysqld.service failed.

这个镜像其实蛮多人使用的 我是macos 系统下使用的 这个问题应该是属于特列 有同类的问题求解答 谢谢

错误详细日志

Jun 17 11:02:13 429c2a6357ea systemd[1]: Starting MySQL Server...
Jun 17 11:02:28 429c2a6357ea systemd[1]: mysqld.service: control process exited, code=exited status=1
Jun 17 11:02:28 429c2a6357ea systemd[1]: Failed to start MySQL Server.
Jun 17 11:02:28 429c2a6357ea systemd[1]: Unit mysqld.service entered failed state.
Jun 17 11:02:28 429c2a6357ea systemd[1]: mysqld.service failed.
Jun 17 11:02:28 429c2a6357ea systemd[1]: mysqld.service holdoff time over, scheduling restart.
Jun 17 11:02:28 429c2a6357ea systemd[1]: Stopped MySQL Server.
Jun 17 11:02:28 429c2a6357ea systemd[1]: Starting MySQL Server...
Jun 17 11:02:29 429c2a6357ea mysqld[127]: Unable to determine if daemon is running: No such file or directory
Jun 17 11:02:29 429c2a6357ea systemd[1]: mysqld.service: control process exited, code=exited status=1
Jun 17 11:02:29 429c2a6357ea systemd[1]: Failed to start MySQL Server.
Jun 17 11:02:29 429c2a6357ea systemd[1]: Unit mysqld.service entered failed state.
Jun 17 11:02:29 429c2a6357ea systemd[1]: mysqld.service failed.
Jun 17 11:02:30 429c2a6357ea systemd[1]: mysqld.service holdoff time over, scheduling restart.
Jun 17 11:02:30 429c2a6357ea systemd[1]: Stopped MySQL Server.
Jun 17 11:02:30 429c2a6357ea systemd[1]: Starting MySQL Server...
Jun 17 11:02:31 429c2a6357ea mysqld[150]: Unable to determine if daemon is running: No such file or directory
Jun 17 11:02:31 429c2a6357ea systemd[1]: mysqld.service: control process exited, code=exited status=1
阅读 3.1k
1 个回答

有mysql.log日志?

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题