mysql 错误集锦
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 错误集锦的更多相关文章
- mysql错误集锦
1.使用myqldump备份出错:(--opt快速导出) mysqldump -u root -p --database mysql --opt -h127.0.0.1 > mysql.sqlE ...
- MySQL错误日志总结
MySQL错误日志是记录MySQL 运行过程中较为严重的警告和错误信息,以及MySQL每次启动和关闭的详细信息.错误日志的命名通常为hostname.err.其中,hostname表示服务器主机名. ...
- Mysql错误:Ignoring query to other database解决方法
Mysql错误:Ignoring query to other database解决方法 今天登陆mysql show databases出现Ignoring query to other datab ...
- MySQL错误:The user specified as a definer (XXX@XXX) does not exist
今天由于更换服务器,重新再本地备份了数据库,试运行程序报错,如下: MySQL错误:The user specified as a definer (XXX@XXX) does not exist 意 ...
- 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 ...
- PHP开发者常犯的MySQL错误
PHP开发者常犯的MySQL错误 数据库是WEB大多数应用开发的基础.如果你是用PHP,那么大多数据库用的是MYSQL也是LAMP架构的重要部分. PHP看起来很简单,一个初学者也可以几个小时内就 ...
- Wamp Mysql错误消息 语言设置
Wamp Mysql错误消息 语言设置 http://my.oschina.net/wandershi/blog/264347 打开my.ini 找到 [wampmysqld] port = 33 ...
- EntityFramwork6连接MySql错误
EntityFramwork6连接MySql错误 使用EF6连接MySql产生Exception: ProHub.ssdl(2,2) : 错误 0152: MySql.Data.MySqlClient ...
- MySQL 错误日志(Error Log)
同大多数关系型数据库一样,日志文件是MySQL数据库的重要组成部分.MySQL有几种不同的日志文件.通常包括错误日志文件,二进制日志,通用日志,慢查询日志,等等. 这些日志能够帮助我们定位mysqld ...
随机推荐
- ldo的一些参数理解
psrr是衡量ldo抑制外来信号噪声的能力,而内部噪声是由基准电压和误差放大器引入的.通常器件手册说的输出噪声指的就是内部噪声. ldo的暂态响应也是一个重要指标
- [MEF]第04篇 MEF的多部件导入(ImportMany)和目录服务
一.演示概述此演示介绍了MEF如何使用ImportMany特性同时导入多个与相同约束相匹配的导出部件,并且介绍了目录服务(Catalog),该服务告知MEF框架可以在什么地方去搜寻与指定约束匹配的导出 ...
- 从数据库导出数据到excel之List<List<Object>>导出
说明:有时候数据处理为List<List<Object>>更方便 姊妹篇:从数据库导出数据到excel之List<Map<>>导出 兄弟篇:从数据库导出 ...
- bzoj 1257 [CQOI2007]余数之和——数论分块
题目:https://www.lydsy.com/JudgeOnline/problem.php?id=1257 \( n\%i = n - \left \lfloor n/i \right \rfl ...
- c# 启动关闭sql服务
static void Main(string[] args) { ServiceController sc = new ServiceController("MSSQL$SQLEXPRES ...
- protobuf接口调用报错:java.nio.charset.MalformedInputException: Input length = 1
使用protobuf定义的接口api发起http请求报错,日志如下: [-- ::] DEBUG AbstractPool: - server updated, node=, server={ nod ...
- 字符串的问题(substr,find用法)
链接:https://www.nowcoder.com/acm/contest/77/C来源:牛客网 字符串的问题 时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 262144K,其他 ...
- soap,socket
Socket 接口是访问 Internet 使用得最广泛的方法. 如果你有一台刚配好TCP/IP协议的主机,其IP地址是202.120.127.201, 此时在另一台主机或同一台主机上执行ftp 20 ...
- css 定位position总结
在CSS中,Position 属性经常会用到,主要是绝对定位和相对定位,简单的使用都没有问题,尤其嵌套起来,就会有些混乱,今记录总结一下,防止久而忘之. CSS position 属性值: absol ...
- node+express+socket.io制作一个聊天室功能
首先是下载包: npm install express npm install socket.io 建立文件: 服务器端代码:server.js var http=require("http ...