当前位置: 首页 > MySQL数据库

怎么解决MySQL.The server quit without updating PID file问题

时间:2026-01-28 14:11:00

[root@mysql5-7-18 ~]# chown root:root /usr/local/mysql/log/mysql_mysql-5-7-18.err
[root@mysql5-7-18 ~]# ll /usr/local/mysql/log/      
total 40
-rwxr-xr-x. 1 root  root  9357 May 31 14:13 mysql_mysql-5-7-18.err
-rwxr-xr-x. 1 mysql mysql  177 May 31 11:33 ray-bin.000001
-rwxr-xr-x  1 mysql mysql  177 May 31 14:05 ray-bin.000002
-rwxr-xr-x  1 mysql mysql  177 May 31 14:07 ray-bin.000003
-rwxr-xr-x  1 mysql mysql  177 May 31 14:09 ray-bin.000004
-rwxr-xr-x  1 mysql mysql  573 May 31 14:13 ray-bin.000005
-rwxr-xr-x  1 mysql mysql  180 May 31 14:09 ray-bin.index
-rwxr-xr-x. 1 mysql mysql  925 May 31 14:09 slow-log.log
[root@mysql5-7-18 docs]# service mysqld start
Starting MySQL.The server quit without updating PID file (/[FAILED]l/mysql/data/mysql5-7-18.pid).
[root@mysql5-7-18 ~]# chown mysql:mysql /usr/local/mysql/log/mysql_mysql-5-7-18.err    
[root@mysql5-7-18 ~]# ll /usr/local/mysql/log/                                     
total 40
-rwxr-xr-x. 1 mysql mysql 9357 May 31 14:13 mysql_mysql-5-7-18.err
-rwxr-xr-x. 1 mysql mysql  177 May 31 11:33 ray-bin.000001
-rwxr-xr-x  1 mysql mysql  177 May 31 14:05 ray-bin.000002
-rwxr-xr-x  1 mysql mysql  177 May 31 14:07 ray-bin.000003
-rwxr-xr-x  1 mysql mysql  177 May 31 14:09 ray-bin.000004
-rwxr-xr-x  1 mysql mysql  573 May 31 14:13 ray-bin.000005
-rwxr-xr-x  1 mysql mysql  180 May 31 14:09 ray-bin.index
-rwxr-xr-x. 1 mysql mysql  925 May 31 14:09 slow-log.log
[root@mysql5-7-18 ~]# service mysqld start
Starting MySQL..                                           [  OK  ]
[root@mysql5-7-18 ~]# 


上一篇:mysql innodb的行锁举例分析
下一篇:怎么让MYSQL彻底支持中文
mysql
  • 英特尔与 Vertiv 合作开发液冷 AI 处理器
  • 英特尔第五代 Xeon CPU 来了:详细信息和行业反应
  • 由于云计算放缓引发扩张担忧,甲骨文股价暴跌
  • Web开发状况报告详细介绍可组合架构的优点
  • 如何使用 PowerShell 的 Get-Date Cmdlet 创建时间戳
  • 美光在数据中心需求增长后给出了强有力的预测
  • 2027服务器市场价值将接近1960亿美元
  • 生成式人工智能的下一步是什么?
  • 分享在外部存储上安装Ubuntu的5种方法技巧
  • 全球数据中心发展的关键考虑因素
  • 英特尔与 Vertiv 合作开发液冷 AI 处理器

    英特尔第五代 Xeon CPU 来了:详细信息和行业反应

    由于云计算放缓引发扩张担忧,甲骨文股价暴跌

    Web开发状况报告详细介绍可组合架构的优点

    如何使用 PowerShell 的 Get-Date Cmdlet 创建时间戳

    美光在数据中心需求增长后给出了强有力的预测

    2027服务器市场价值将接近1960亿美元

    生成式人工智能的下一步是什么?

    分享在外部存储上安装Ubuntu的5种方法技巧

    全球数据中心发展的关键考虑因素