Starting MySQL. ERROR! The server quit without updating PID file
我在my.cnf中添加了一个log-bin=/data/docker/lisa/mysql/data/mysql-bin
重启mysql报错。
[root@6e05ca49e205 data]# service mysql restart
Shutting down MySQL.. SUCCESS!
Starting MySQL. ERROR! The server quit without updating PID file (/data/docker/lisa/mysql/data//6e05ca49e205.pid).
怎么办??
查看我的errorlog
# tail -f 50 b0d81312ea9e.err
2016-12-28T07:58:19.333819Z 0 [ERROR] You have enabled the binary log, but you haven't provided the mandatory server-id. Please refer to the proper server start-up parameters documentation
2016-12-28T07:58:19.333854Z 0 [ERROR] Aborting
解决办法:
#vim /etc/my.cnf
添加一行
server_id = 43306
[root@b0d81312ea9e data]# service mysql restart
ERROR! MySQL server PID file could not be found!
Starting MySQL. SUCCESS!
OK!!!
转载于:https://blog.51cto.com/songlisha/1886946
Starting MySQL. ERROR! The server quit without updating PID file相关推荐
- Starting MySQL... ERROR! The server quit without updating PID file 问题解决
Starting MySQL... ERROR! The server quit without updating PID file 问题解决 参考文章: (1)Starting MySQL... E ...
- Starting MySQL.. ERROR! The server quit without updating PID file (/usr/local/mysql/data/vm10-0-0-19
输入:service mysqld start 报错: Starting MySQL.. ERROR! The server quit without updating PID file (/usr/ ...
- MySQL: Starting MySQL….. ERROR! The server quit without updating PID file解决办法
1 问题 [root@localhost mysql]# /etc/rc.d/init.d/mysql status MySQL is not running, but lock file (/var ...
- 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 ...
- mysql服务启动失败 Starting MySQL. ERROR! The server quit without updating PID file
[问题描述] 使用 service mysqld start 启动mysql服务失败,提示 Starting MySQL. ERROR! The server quit without updatin ...
- 解决 Starting MySQL ERROR The server quit without updating PID file
服务器断电重启后mysql启动报错,记录一下解决方案 环境 mysql版本 5.7.21 服务器 Red Hat Enterprise Linux Server release 7.6 (Maipo) ...
- 已解决Starting MySQL... ERROR The server quit without updating PID file
Linux服务器重启后启动MySQL报错,错误信息如下: Starting MySQL... ERROR! The server quit without updating PID file (/us ...
- 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 ...
- 【庖丁解牛】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 ...
- 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 ...
最新文章
- ASP.NET 开发知识小结
- SAP CRM调查问卷的评分和图表显示功能介绍
- iOS之深入解析Xcode编译运行的原理与应用
- 分布式和微服务区别_深度解析spring cloud分布式微服务的实现
- Git 使用的问题总结
- 一步一步学pwntools(适合新手)
- [js] 一道变态题 Number.call.call(Number, undefined, 0) 等于什么?
- 【dll 返回字符串 】2
- H5 微信公众号 授权登录 前后端分离篇(后端02)
- java乱码问题详解-值得收藏
- 一个jQuery扩展工具包
- LINUX下载编译signalwire-c
- 第三节:python 交互和调用参数
- mysql高级管理-note
- php 论坛回复引用功能,PHPWind商业版论坛功能介绍
- stm单片机的后缀含义
- Microsoft软件保护平台服务一直占用大量CPU资源
- 旧电脑更新win10日记
- 我丈母娘家的小店竟然被Dos攻击了
- 十三五期间,北京智慧交通建设内容有哪些?怎么建?