Starting MySQL.The server quit without updating PID file (/[FAILED]l/mysql/

像上面这样的mysql启动错误,可谓经常看到到底是什么原因导致的呢,网上的分析解释有很多,

有人分析师skip-federated这个参数就可以了,

又有人认为删除data/mysql-bin.index文件,就可以启动服务,

其实导致出现此错误的原因有很多,解决办法也有很多,我尝试像上面的两种解决办法一样故意做出错误参数配置,而上面提到的方法也确实解决了问题.不过这都是不全面的,我也不可能提出更加全面的解决办法.

不过出现上面的错误可以说解决办法都是你的参数配置出现问题导致的,

解决思路:

1:首先检查你的错误日志,找到最近的错误.查看问题出现在哪.

2:去修改my.cnf中的参数配置,但是请注意,修改的时候你务必要记清楚那些事修改了,方便稍后做出更加正确合理的再次修改.

在配置参数的时候一定注意高度重视innodb引擎参数的配置,它是极易导致错误的关键所在.

3:正常启动服务吧.

当然问题可能更加多样化,不过错误日志都会带给你莫大的帮助,google.百度都是很不错的助手.

InnoDB: Compressed tables use zlib 1.2.3

101227 3:37:23 InnoDB: Using Linux native AIO

101227 3:37:23 InnoDB: Initializing buffer pool, size = 128.0M

101227 3:37:23 InnoDB: Completed initialization of buffer pool

InnoDB: The first specified data file ./ibdata1 did not exist:

InnoDB: a new database to be created!

101227 3:37:23 InnoDB: Setting file ./ibdata1 size to 10 MB

InnoDB: Database physically writes the file full: wait...

101227 3:37:23 InnoDB: Log file ./ib_logfile0 did not exist: new to be created

InnoDB: Setting log file ./ib_logfile0 size to 5 MB

InnoDB: Database physically writes the file full: wait...

101227 3:37:24 InnoDB: Log file ./ib_logfile1 did not exist: new to be created

InnoDB: Setting log file ./ib_logfile1 size to 5 MB

InnoDB: Database physically writes the file full: wait...

InnoDB: Doublewrite buffer not found: creating new

InnoDB: Doublewrite buffer created

InnoDB: 127 rollback segment(s) active.

InnoDB: Creating foreign key constraint system tables

InnoDB: Foreign key constraint system tables created

101227 3:37:25 InnoDB: 1.1.3 started; log sequence number 0

101227 3:37:25 [Note] Event Scheduler: Loaded 0 events

101227 3:37:25 [Note] /usr/local/mysql/bin/mysqld: ready for connections.

Version: '5.5.7-rc' socket: '/tmp/mysql.sock' port: 3306 MySQL Community Server (GPL)

101227 3:37:47 [ERROR] Cannot find or open table world/pp from

the internal data dictionary of InnoDB though the .frm file for the

table exists. Maybe you have deleted and recreated InnoDB data

files but have forgotten to delete the corresponding .frm files

of InnoDB tables, or you have moved .frm files to another database?

or, the table con

错误实例2:

Attempting backtrace. You can use the following information to find out

where mysqld died. If you see no messages after this, something went

terribly wrong...

stack_bottom = (nil) thread_stack 0x30000

/usr/local/mysql/bin/mysqld(my_print_stacktrace+0x33)[0x85854f3]

/usr/local/mysql/bin/mysqld(handle_segfault+0x448)[0x811cc28]

[0x220420]

/lib/libc.so.6(abort+0x101)[0x96d701]

/usr/local/mysql/bin/mysqld[0x84ee6c1]

/usr/local/mysql/bin/mysqld[0x84cc56e]

/usr/local/mysql/bin/mysqld[0x84ccaef]

/usr/local/mysql/bin/mysqld[0x84bd21b]

/usr/local/mysql/bin/mysqld[0x8495d9e]

/usr/local/mysql/bin/mysqld[0x8489d55]

/usr/local/mysql/bin/mysqld[0x848a0e7]

/usr/local/mysql/bin/mysqld[0x848d1ab]

/usr/local/mysql/bin/mysqld[0x84760c5]

/usr/local/mysql/bin/mysqld[0x843f75f]

/usr/local/mysql/bin/mysqld(_Z24ha_initialize_handlertonP13st_plugin_int+0x51)[0x82a9631]

/usr/local/mysql/bin/mysqld[0x81aa768]

/usr/local/mysql/bin/mysqld(_Z11plugin_initPiPPci+0xcf9)[0x81af169]

/usr/local/mysql/bin/mysqld[0x8123453]

/usr/local/mysql/bin/mysqld(_Z11mysqld_mainiPPc+0x420)[0x8126050]

/usr/local/mysql/bin/mysqld(main+0x32)[0x811ade2]

/lib/libc.so.6(__libc_start_main+0xdc)[0x958e9c]

/usr/local/mysql/bin/mysqld[0x811acf1]

The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains

information that should help you find out what is causing the crash.

101230 02:50:01 mysqld_safe mysqld from pid file /usr/local/mysql/data/MySQLServer.pid ended

诸如更多的错误,检查你的配置文件吧.

mysql服务starting_MySQl服务无法启动(Starting MySQL.The server quit withou)相关推荐

  1. mysql登陆时报错PID_Mysql 启动错误:the server quit without updating pid

    接到任务看看mysql为啥起不来,就上服务器上看了看,确实起不来,至于之前发生了啥也不知道. 服务器Ubuntu,mysql-5.6 1.先试下mysql登陆 mysql -uroot -p 发现报错 ...

  2. 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 ...

  3. 安装完MySQL后启动报错_MySQL数据库之mysql编译安装完成后,启动时报错The server quit without updating PID file...

    本文主要向大家介绍了MySQL数据库之mysql编译安装完成后,启动时报错The server quit without updating PID file ,通过具体的内容向大家展现,希望对大家学习 ...

  4. CentOS7 安装Mysql5.6 后启动失败处理 The server quit without updating PID file

    第一次: service mysqld start 报错; Warning: World-writable config file '/etc/my.cnf' is ignored Starting ...

  5. Mysql在离线安装时启动失败:mysql服务无法启动,服务没有报告任何错误

    场景 Mysql在Windows上离线安装与配置: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/117563780 在上面进行离 ...

  6. mysql启动异常:The server quit without updating PID file

    闲来无事!一前端朋友找到我说他服务器安装的mysql突然间连不上了.让我帮忙看一下. 要来服务器账号密码之后: 首先查看下mysql进程: ps -aux | grep 'mysql' 发现并没有my ...

  7. mysql5.6 pid_MySQL5.6启动报错The server quit without updating PID file

    Mysql启动报错如下: [root@db01 opt]# service mysqld start Starting MySQL.... ERROR! The server quit without ...

  8. Linux安装MySQL5.7 启动时ERROR! The server quit without updating PID file (/data/mysql/mysql.pid).

    错误或多于的,仅参考学习: 因需要,本只需按装MySQL客户端就可以,但刚开始查的资料,使用了命令yum install -y mariadb.x86_64 mariadb-libs.x86_64 ( ...

  9. mysql+linux+无法启动服务无法启动不了_Linux实例中MySQL服务常见的无法启动或启动异常处理...

    概述 本文介绍了在Linux实例中,MySQL常见的无法启动或启动异常处理方法. 详细描述 常见问题处理描述,目录如下. 提示:MySQL错误日志通常记录在/alidata/log/mysql/err ...

  10. 启动mysql服务是报错找不到pid_mysql报错 The server quit without updating PID file

    我的mysql总是在重启的时候mysql的数据总是会初始化,我以为是的配置问题,所以在网上找了各种方法测试都不通过,下面看我遇到的几个错误. 重启mysql失败 [root@wulaoer_mysql ...

最新文章

  1. Java实现余弦定理计算文本相似度
  2. TP引用样式表和js文件及验证码
  3. python 程序bug解决方案
  4. mac上利用minikube搭建kubernetes(k8s)环境
  5. Python——对象
  6. JUCE学习笔记05-音频输出基础(白噪)
  7. 用c语言写一个求和的程序,用C语言编写一个“等比数列求和”的程序?
  8. 中南大学官网计算机学院,中南大学
  9. Windbg调试工具介绍
  10. 知识管理在企业竞争发展中的作用
  11. STA series --- 3.Standard cell library(PART-I)
  12. 关于眼镜的后续。。。。
  13. ActiveX控件的MFC设计之旅-第12步 .
  14. 学习Python后,就业能从事哪些方向?
  15. python之函数用法isupper()
  16. 基于UCOS-III的雷电传奇自制小游戏————秉火STM32F103-指南者;PS2手柄
  17. Idea中Vue的安装和使用
  18. 在Arcgis中进行拓扑检查(二)
  19. 【CDOJ 1334】 郭大侠与Rabi-Ribi
  20. 模拟信号求解相位差(1)

热门文章

  1. 利用新浪API实现短网址生成,长网址缩短!
  2. Vue - $route matched 属性实现面包屑导航
  3. 义冢oj P5033打气球
  4. 诛仙服务器不显示网速,诛仙2解决游戏网速三部曲
  5. 【Java小游戏】俄罗斯方块
  6. 聚亚烷基二醇的全球与中国市场2022-2028年:技术、参与者、趋势、市场规模及占有率研究报告
  7. 2021年烷基化工艺找解析及烷基化工艺考试试卷
  8. 转载:常用 Git 命令清单 by 阮一峰
  9. 微信公众号前端-上传图片小记
  10. ACTS:首屈一指的软件测试策略是什么?