gpt4 book ai didi

mysql - 错误/usr/libexec/mysqld : Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28)

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:58:42 25 4
gpt4 key购买 nike

目前我在 Linux Centos 上遇到 mysql 的问题。它突然停止了。 然后我尝试用 service mysqld start 命令启动 mysql,它给出错误 -

尝试启动 MySQL 守护进程时发生超时错误。

我用tail -10/var/log/mysqld.log 命令检查了日志,然后它显示-

120714  6:48:02  InnoDB: Initializing buffer pool, size = 8.0M
120714 6:48:02 InnoDB: Completed initialization of buffer pool
120714 6:48:02 InnoDB: Started; log sequence number 0 2096665
120714 6:48:02 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28)
120714 6:48:02 [ERROR] Can't start server: can't create PID file: No space left on device
120714 06:48:02 mysqld_safe Number of processes running now: 0
120714 06:48:02 mysqld_safe mysqld restarted
120714 6:48:03 [Note] Plugin 'ndbcluster' is disabled.
120714 6:48:03 InnoDB: Initializing buffer pool, size = 8.0M
120714 6:48:03 InnoDB: Completed initialization of b-bash-4.1

我不明白为什么会这样。我是 Linux 和 mysql 的新手。请大家帮我解决这个问题。谢谢

最佳答案

输入“df -h”查看/var/挂载点还剩多少空间,会不会是/var/没有剩余空间了?

关于mysql - 错误/usr/libexec/mysqld : Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11481845/

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