Home > Database > Mysql Tutorial > Mysql无限重启问题可能原因_MySQL

Mysql无限重启问题可能原因_MySQL

WBOY
Release: 2016-06-01 13:11:22
Original
1782 people have browsed it

现象:

由于mysql.sock文件误删,重启mysql后一直打印以下信息,无限重启:
121030 11:03:20 mysqld_safe Number of processes running now: 0
121030 11:03:20 mysqld_safe mysqld restarted
121030 11:03:21 mysqld_safe Number of processes running now: 0
121030 11:03:21 mysqld_safe mysqld restarted
121030 11:03:23 mysqld_safe Number of processes running now: 0
121030 11:03:23 mysqld_safe mysqld restarted
121030 11:03:24 mysqld_safe Number of processes running now: 0
121030 11:03:24 mysqld_safe mysqld restarted


查看/tmp文件夹中mysql.sock文件,一会有一会没有

原因:

由于磁盘空间不足,导致创建mysql.sock文件创建不成功,所以一直在重启。

清理下磁盘空间,最终Mysql正常启动成功。

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template