Got fatal error 1236 from master when reading data from binary log: 'could not find next log; the first event '' at 4, the last event read from './mysql-bin.000005' at 304695, the last byte read from './mysql-bin.000005' at 304695.'

root@012cabfabcf5:/# mysqlrpladmin --slaves=repluser:'repl.123'@192.168.9.113,repluser:'repl.123'@192.168.9.127 --candidates=repluser:'repl.123'@192.168.9.113,repluser:'repl.123'@192.168.9.127 --rpl-user=repluser:repl.123 failover
WARNING: Using a password on the command line interface can be insecure.
# Checking privileges.
# Checking privileges on candidates.
# Performing failover.
# Candidate slave 192.168.9.113:3306 will become the new master.
# Checking slaves status (before failover).
# ERROR: Problem detected with SQL thread for slave '192.168.9.113'@'3306' that can result in an unstable topology.
#  - SQL thread running: No
#  - SQL error: None
#  Tip: Check the slave server log to identify the problem and fix it. For more information, see: http://dev.mysql.com/doc/refman/5.6/en/replication-problems.html
ERROR: Problem detected with SQL thread for slave '192.168.9.113'@'3306' that can result in an unstable topology. Note: To ignore this issue use the utility with the --force option.

2018-01-18T06:42:34.157806406Z Logged from file tasks.py, line 147
2018-01-18T06:42:34.15785599Z Traceback (most recent call last):
2018-01-18T06:42:34.157887448Z   File "/usr/lib/python2.7/logging/__init__.py", line 883, in emit
2018-01-18T06:42:34.157918948Z     self.flush()
2018-01-18T06:42:34.15795049Z   File "/usr/lib/python2.7/logging/__init__.py", line 843, in flush
2018-01-18T06:42:34.157982031Z     self.stream.flush()
2018-01-18T06:42:34.158018031Z IOError: [Errno 32] Broken pipe
2018-01-18T06:42:34.15805849Z Logged from file tasks.py, line 194
2018-01-18T06:42:34.158085406Z Traceback (most recent call last):
2018-01-18T06:42:34.158118198Z   File "/usr/lib/python2.7/logging/__init__.py", line 883, in emit
2018-01-18T06:42:34.158163198Z     self.flush()
2018-01-18T06:42:34.15821274Z   File "/usr/lib/python2.7/logging/__init__.py", line 843, in flush
2018-01-18T06:42:34.15827124Z     self.stream.flush()
2018-01-18T06:42:34.158356823Z IOError: [Errno 32] Broken pipe

mysql 错误集锦的更多相关文章

  1. mysql错误集锦

    1.使用myqldump备份出错:(--opt快速导出) mysqldump -u root -p --database mysql --opt -h127.0.0.1 > mysql.sqlE ...

  2. MySQL错误日志总结

    MySQL错误日志是记录MySQL 运行过程中较为严重的警告和错误信息,以及MySQL每次启动和关闭的详细信息.错误日志的命名通常为hostname.err.其中,hostname表示服务器主机名. ...

  3. Mysql错误:Ignoring query to other database解决方法

    Mysql错误:Ignoring query to other database解决方法 今天登陆mysql show databases出现Ignoring query to other datab ...

  4. MySQL错误:The user specified as a definer (XXX@XXX) does not exist

    今天由于更换服务器,重新再本地备份了数据库,试运行程序报错,如下: MySQL错误:The user specified as a definer (XXX@XXX) does not exist 意 ...

  5. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)--MySQL错误

    MySQL错误整理: 错误一: ERROR (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/my ...

  6. PHP开发者常犯的MySQL错误

    PHP开发者常犯的MySQL错误   数据库是WEB大多数应用开发的基础.如果你是用PHP,那么大多数据库用的是MYSQL也是LAMP架构的重要部分. PHP看起来很简单,一个初学者也可以几个小时内就 ...

  7. Wamp Mysql错误消息 语言设置

    Wamp Mysql错误消息 语言设置 http://my.oschina.net/wandershi/blog/264347 打开my.ini   找到 [wampmysqld] port = 33 ...

  8. EntityFramwork6连接MySql错误

    EntityFramwork6连接MySql错误 使用EF6连接MySql产生Exception: ProHub.ssdl(2,2) : 错误 0152: MySql.Data.MySqlClient ...

  9. MySQL 错误日志(Error Log)

    同大多数关系型数据库一样,日志文件是MySQL数据库的重要组成部分.MySQL有几种不同的日志文件.通常包括错误日志文件,二进制日志,通用日志,慢查询日志,等等. 这些日志能够帮助我们定位mysqld ...

随机推荐

  1. flex 伸缩布局

    伸缩布局 布局的传统解决方案,基于盒状模型,依赖 display属性 + position属性 + float属性.它对于那些特殊布局非常不方便.CSS3在布局方面做了非常大的改进,使得我们对块级元素 ...

  2. python模块--随机模块

    import random print(random.random()) # 随机产生一个(0,1)的 float 0.026244299361600776 print(random.randint( ...

  3. Elixir's keyword lists as option parameters

    备注: 文章转自:https://www.djm.org.uk/posts/writing-extensible-elixir-with-behaviours-adapters-pluggable-b ...

  4. Spring整合JavaMail

    1.添加jar包 #此处省略spring基础相关jar包描述,以下是发送邮件相关jar包 <dependency> <groupId>org.springframework&l ...

  5. Oracle修改主键约束

    项目需求,有张表,原有三个联合主键,现在需要再加一个字段进去,而恰恰这个字段可以为空的.去数据库捞了一把,还好数据都不为空: SQL> select count(*) from t_wlf_re ...

  6. JAVA课程设计(坦克大战)

    2019-01-16 坦克大战游戏背景: 1. 需求分析 1.1环境要求 操作系统:Windows 7(SP1)以上 JAVA虚拟机:JDK1.8以上 开发环境:Eclipse(4.5以上) 1.2角 ...

  7. GOF23设计模式之模板方法模式(template method)

    一.模板方法模式概述 模板方法模式是编程中经常使用的模式.它定义了一种操作中的算法架构,将某些步骤延迟到子类中实现.这样,新的子类可以在不改变一个算法结构的前提下重新定义该算法的某些特定步骤. (1) ...

  8. linux下 tomcat 日志乱码/中文链接404

    1 日志乱码: JDK引用的设置 Java引用参数添加”-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8” 将上面参数添加到Catalina.sh中JAVA ...

  9. python 变量 不断 相加 or 相减的简便写法 a +=1

    相加: 相减:

  10. POJ 3279 Fliptile(反转 +二进制枚举)

    Fliptile Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 13631   Accepted: 5027 Descrip ...