【问题描述】

使用

service mysqld start

启动mysql服务失败,提示

Starting MySQL. ERROR! The server quit without updating PID file

【解决方案】

在my.cnf配置文件中的 [mysqld_safe] 下添加

log-error = /apps/logs/mysql/error.log      # 表示mysql服务启动日志文件的位置,路径可以根据自己的系统更改

之后再次启动mysql服务,查看error.log文件,注意error标签的提示内容,修改相应的错误。

2018.12.12 更新

可能会在error.log中遇到如下错误

The error means the system cannot find the path specified......

【解决方案】

编辑my.cnf文件,添加一下内容:

innodb_force_recovery=1

重启mysql

mysql服务启动失败 Starting MySQL. ERROR! The server quit without updating PID file相关推荐

  1. mysql启动报错,ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid

    1 安装完mysql后启动时报错 2 这是由于mysql会默认去读etc/my.cnf这个文件,如果你有 chown mysql:mysqled /etc/my.cnf这个授权命令就会出现上面的错误只 ...

  2. mysql启动之 Starting MySQL.. ERROR The server quit without updating PID file xs43254219216.pid

    亲测可用,若有疑问请私信 Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/dat ...

  3. linux下mysql启动 Starting MySQL. ERROR! The server quit without updating PID file(xxx/x.pid)

    linux下mysql启动 Starting MySQL. ERROR! The server quit without updating PID file(xxx/x.pid) service my ...

  4. Mysql 启动报错解析:Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/dat

    现象: root@centos74 ~]# service mysqld start Starting MySQL.. ERROR! The server quit without updating ...

  5. 解决 Starting MySQL ERROR The server quit without updating PID file

    服务器断电重启后mysql启动报错,记录一下解决方案 环境 mysql版本 5.7.21 服务器 Red Hat Enterprise Linux Server release 7.6 (Maipo) ...

  6. 【庖丁解牛】Starting MySQL.. ERROR! The server quit without updating PID file (/tmp/mysqld.pid)

    问题复现 编译安装mysql结束后,初始化mysql,使用的命令: /var/lib/mysql/bin/mysqld --initialize-insecure --user=mysql --bas ...

  7. MYSQL启动后报:ERROR! The server quit without updating PID file错误的问题解决

    注意:本文出自 "阿飞"的博客 ,如果要转载本文章,请与作者联系! 并注明来源: http://blog.csdn.net/faye0412/article/details/703 ...

  8. 已解决Starting MySQL... ERROR The server quit without updating PID file

    Linux服务器重启后启动MySQL报错,错误信息如下: Starting MySQL... ERROR! The server quit without updating PID file (/us ...

  9. Starting MySQL... ERROR! The server quit without updating PID file 问题解决

    Starting MySQL... ERROR! The server quit without updating PID file 问题解决 参考文章: (1)Starting MySQL... E ...

最新文章

  1. Flask-RESTful之视图
  2. Runnable接口和贪心算法
  3. 团队项目技术规格说明书---客户端
  4. 舞蹈里需要用计算机的地方,【舞蹈教学论文】计算机多媒体技术在舞蹈教学中的应用(共2080字)...
  5. 安装cuda时出现 non 7z achive. 报错解决办法 安装文件损坏
  6. Pixhawk---通过串口方式添加一个自定义传感器(超声波为例)
  7. 10亿个字符串的排序问题
  8. linux文字大小,Qt 字体大小的计算
  9. 使用Weka进行数据挖掘
  10. html中span不显示背景
  11. lora calculator的使用
  12. 工作三年,回顾一下工作历程
  13. Invalid bound statement (not found)出现的原因和解决方法
  14. 软件测试培训之十个无脚本测试方案
  15. Activiti7实战二:实现具有拒签功能的请假2层审批流程
  16. 欢迎进入夜色的繁星博客导航一站式搜索(所有博客的汇总帖)
  17. DRE6-1X/210MG24K4M比例减压阀配套US-DAS1放大器
  18. Heritrix配置
  19. 三层架构之我见 —— 不同于您见过的三层架构。 -阳光男孩 - 京华志
  20. CAD2014学习笔记-图纸布局和打印输出

热门文章

  1. dj鲜生-36-商品应用-其它模型类的创建-完善goods应用的数据表
  2. Mysql 分组后组内排序按字段取最大或最小的数据
  3. 微信第三方平台-授权流程经验分享
  4. ASP.NET MVC RegisterBundles
  5. Angular 4.x 自定义验证指令
  6. HashMap、TreeMap、Hashtable、HashSet和ConcurrentHashMap区别
  7. 【云快讯】之五十五《IBM推出Data Warehouse数据仓库云服务》
  8. Difference between stem and lemma
  9. tomcat 5 comcat 6 区别
  10. Linq杂谈之 — Linq导入Excel