MySQL5.6启动报错The server quit without updating PID file
Mysql启动报错如下:
[root@db01 opt]# service mysqld start
Starting MySQL.... ERROR! The server quit without updating PID file (/opt/mysql-5.6.24/data/mysql.pid).
查看错误日志,发现问题根源在于下面红色部分:
2017-08-26 01:45:44 8525 [Note] InnoDB: Initializing buffer pool, size = 256.0M
2017-08-26 01:45:44 8525 [Note] InnoDB: Completed initialization of buffer pool
2017-08-26 01:45:44 8525 [Note] InnoDB: Highest supported file format is Barracuda.
2017-08-26 01:45:44 8525 [Note] InnoDB: 128 rollback segment(s) are active.
2017-08-26 01:45:44 8525 [Note] InnoDB: Waiting for purge to start
2017-08-26 01:45:44 8525 [Note] InnoDB: 5.6.24 started; log sequence number 1626194
2017-08-26 01:45:44 8525 [ERROR] --gtid-mode=ON or UPGRADE_STEP_1 requires --enforce-gtid-consistency
2017-08-26 01:45:44 8525 [ERROR] Aborting
2017-08-26 01:45:44 8525 [Note] Binlog end
2017-08-26 01:45:44 8525 [Note] Shutting down plugin 'rpl_semi_sync_slave'
2017-08-26 01:45:44 8525 [Note] Shutting down plugin 'rpl_semi_sync_master'
2017-08-26 01:45:44 8525 [Note] unregister_replicator OK
2017-08-26 01:45:44 8525 [Note] Shutting down plugin 'partition'
2017-08-26 01:45:44 8525 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2017-08-26 01:45:44 8525 [Note] Shutting down plugin 'BLACKHOLE'
2017-08-26 01:45:44 8525 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
解决办法:将/etc/my.cnf文件参数注释掉:
#gtid-mode = ON
#enforce-gtid-consistency = 1
重新启动mysql,成功。
MySQL5.6启动报错The server quit without updating PID file的更多相关文章
- mysql启动报错 The server quit without updating PID file
[root@uz6542 data]# /etc/init.d/mysqld startStarting MySQL... ERROR! The server quit without updatin ...
- mysql启动报错The server quit without updating PID file
现网mysql无法启动是很让人头疼的,数据很有可能恢复不了,解决方法如下: 查看mysql目录下的日志,根据日志来锁定错误原因(mysql的错误日志很抽象) a.如果日志不能提供任何帮助则可进行以下步 ...
- lnmp下启动mysql报错 The server quit without updating PID file
启动时候错误代码:Starting MySQL[FAIL.] The server quit without updating PID file (/var/run/mysqld/mysqld.pid ...
- Mysql启动报错 The server quit without updating PID
[root@db mysql]# service mysql restartMySQL server PID file could not be found![失败]Starting MySQL... ...
- Mysql启动失败 MYSQL:The server quit without updating PID file
MySQL5.6启动时出错 提示MYSQL:The server quit without updating PID file 首先执行 /bin/mysqld_safe --user=mysql & ...
- 启动mysqld报 mysql the server quit without updating pid file
查看mysql服务器的错误日志有一句: InnoDB: mmap(137363456 bytes) failed; errno 12 原来是内存不够用(需要131MB)呀,把my.cnf中的innod ...
- 启动MySql提示:The server quit without updating PID file(…)失败
1.可能是/usr/local/mysql/data/rekfan.pid文件没有写的权限解决方法 :给予权限,执行 "chown -R mysql:mysql /var/data" ...
- 数据库启动失败:The server quit without updating PID file
1.可能是/usr/local/mysql/data/mysql.pid文件没有写的权限解决方法 :给予权限,执行 “chown -R mysql:mysql /var/data” “chmod -R ...
- 缺乏libaio包导致报The server quit without updating PID file
背景: 直接解压安装mysql5.7.18,解压mysql-5.7.18-linux-glibc2.5-x86_64.tar.gz,直接拷贝另外一台数据库的数据目录,启动mysql过程无日志输出,报E ...
随机推荐
- MySQL 5.6新特性 -- Index Condition Pushdown
Index Condition Pushdown(ICP)是针对mysql使用索引从表中检索行数据时的一种优化方法. 在没有ICP特性之前,存储引擎根据索引去基表查找并将数据返回给mysql se ...
- 阿里云 ssh 登陆请使用(公)ip
一直以为要要登陆使用的是私有的ip,最后才发现是使用共有ip, 如图 47.52.69.151 > ssh root@47.52.69.151 > 输入密码
- Spark 论文篇-大型集群上的快速和通用数据处理架构(中英双语)
论文内容: 待整理 参考文献: An Architecture for Fast and General Data Processing on Large Clusters. Matei Zahari ...
- 使用Python解析JSON详解
为大家介绍如何使用 Python 语言来编码和解码 JSON 对象. JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式,易于人阅读和编写. JSON 函数 ...
- 自动化CodeReview - ASP.NET Core依赖注入
自动化CodeReview系列目录 自动化CodeReview - ASP.NET Core依赖注入 自动化CodeReview - ASP.NET Core请求参数验证 我个人比较懒,能自动做的事绝 ...
- 决策树1 -- ID3_C4.5算法
声明: 1.本篇为个人对<2012.李航.统计学习方法.pdf>的学习总结,不得用作商用.欢迎转载,但请注明出处(即:本帖地址). 2,因为本人在学习初始时有非常多数学知识都已忘记,因此为 ...
- buildroot 编译问题
buildroot 编译的时候,出现 g++: internal compiler error: Killed (program cc1plus) 这个是因为虚拟机内存不足的原因, 加上一些内存即可 ...
- 完美解决"Encountered an NTFS Volume with a logfile ..."
完美解决Ghost镜像文件时出现"Encountered an NTFS Volume with a logfile that has not been flushed(536)" ...
- git解决 remote: Permission to wuheng1991/site-manager.git denied to XXX
1.问题 2.解决 生成一个新的SSH KEY ssh-keygen -t rsa –C “youremail@example.com” 命令: 3.修改 .git/config中的url 4.gi ...
- Ubuntu16.04安装xgboost
1.Python下安装方法 git clone --recursive https://github.com/dmlc/xgboost cd xgboost make -j4 cd python-pa ...