我在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相关推荐

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

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

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

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

  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. mysql服务启动失败 Starting MySQL. ERROR! The server quit without updating PID file

    [问题描述] 使用 service mysqld start 启动mysql服务失败,提示 Starting MySQL. ERROR! The server quit without updatin ...

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

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

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

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

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

  9. 【庖丁解牛】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 ...

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

最新文章

  1. ASP.NET 开发知识小结
  2. SAP CRM调查问卷的评分和图表显示功能介绍
  3. iOS之深入解析Xcode编译运行的原理与应用
  4. 分布式和微服务区别_深度解析spring cloud分布式微服务的实现
  5. Git 使用的问题总结
  6. 一步一步学pwntools(适合新手)
  7. [js] 一道变态题 Number.call.call(Number, undefined, 0) 等于什么?
  8. 【dll 返回字符串 】2
  9. H5 微信公众号 授权登录 前后端分离篇(后端02)
  10. java乱码问题详解-值得收藏
  11. 一个jQuery扩展工具包
  12. LINUX下载编译signalwire-c
  13. 第三节:python 交互和调用参数
  14. mysql高级管理-note
  15. php 论坛回复引用功能,PHPWind商业版论坛功能介绍
  16. stm单片机的后缀含义
  17. Microsoft软件保护平台服务一直占用大量CPU资源
  18. 旧电脑更新win10日记
  19. 我丈母娘家的小店竟然被Dos攻击了
  20. 十三五期间,北京智慧交通建设内容有哪些?怎么建?

热门文章

  1. Javascript游戏,街头霸王
  2. Ext中Date format含义
  3. Enterprise Library 5.0 中的Validators
  4. 十、IO输入输出流,装饰模式
  5. [转载]云架构师的进阶之路
  6. 带着身体在香港肤浅行走(一)
  7. [Hive]-Table
  8. ant gradle curl等工具原理以及使用记录
  9. zookeeper系列(三)zookeeper的使用--开源客户端
  10. zookeeper + dubbo 搭建