gpt4 book ai didi

MySQL 守护进程在 CentOS 6 服务器上启动失败

转载 作者:行者123 更新时间:2023-11-29 04:16:32 24 4
gpt4 key购买 nike

每当我尝试启动 SQLD 服务时,我都会收到 MySQL Daemon Failed to Start。事实上,我试图通过执行以下操作来“启动”该服务:

[root@www1 ~]# service mysqld restart
mysqld stopped: [ OK ]
MySQL Daemon failed to start.
mysqld started: [FAILED]
[root@www1 ~]#

在我的 MySQL 错误日志中没有任何信息,最后一条是:

170314  3:24:59 [Note] /usr/libexec/mysqld: Normal shutdown

170314 3:24:59 [Note] Event Scheduler: Purging the queue. 0 events
170314 3:25:01 [Warning] /usr/libexec/mysqld: Forcing close of thread 1605619 user: 'admin'

170314 3:25:01 [Warning] /usr/libexec/mysqld: Forcing close of thread 1605617 user: 'admin'
170314 3:25:01 [Warning] /usr/libexec/mysqld: Forcing close of thread 13 user: 'admin'

170314 3:25:06 InnoDB: Starting shutdown...
170314 3:25:08 InnoDB: Waiting for 35 pages to be flushed
170314 3:25:46 InnoDB: Shutdown completed; log sequence number 26624434202
170314 3:25:47 [Note] /usr/libexec/mysqld: Shutdown complete

170314 03:25:50 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

我试过以安全模式启动mysql

[root@www1 log]# mysqld_safe
170314 09:36:39 mysqld_safe Logging to '/var/log/mysqld.log'.
170314 09:36:39 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
170314 09:36:39 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
[root@www1 log]#

SELinux 在我的 centos 机器上被禁用。谁能帮我?编辑:昨晚没有更新。

最佳答案

    yum history

找到更新的ID

    yum history undo <id>

我刚遇到这个问题,这帮我解决了。

关于MySQL 守护进程在 CentOS 6 服务器上启动失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42781217/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com