mysql从库relay_log一直不变_mariadb(mysql)从库relaylog损坏无法同步的处理方法

mariadb_1 | 2018-09-15 17:04:28 140262750803840 [Note] Plugin 'FEEDBACK'is disabled.

mariadb_1| 2018-09-15 17:04:28 140262750803840 [Note] Recovering after a crash using mysql-bin

mariadb_1| 2018-09-15 17:04:28 140262750803840[Note] Starting crash recovery...

mariadb_1| 2018-09-15 17:04:28 140262750803840[Note] Crash recovery finished.

mariadb_1| 2018-09-15 17:04:28 140262750803840 [Note] Server socket created on IP: '0.0.0.0'.

mariadb_1| 2018-09-15 17:04:28 140262750803840 [Warning] 'proxies_priv' entry '@% xxx@xxx' ignored in --skip-name-resolve mode.

mariadb_1| 2018-09-15 17:04:28 140262750803840[Note] Reading of all Master_info entries succeded

mariadb_1| 2018-09-15 17:04:28 140262750803840 [Note] Added new Master_info ''to hash table

mariadb_1| 2018-09-15 17:04:28 140262750803840 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--log-basename=#' or '--relay-log=mysqld-relay-bin'to avoid this problem.

mariadb_1| 2018-09-15 17:04:28 140262750803840 [Note] mysqld: ready forconnections.

mariadb_1| Version: '10.2.14-MariaDB-10.2.14+maria~jessie-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306mariadb.org binary distribution

mariadb_1| 2018-09-15 17:04:28 140261962921728 [Note] Slave SQL thread initialized, starting replication in log 'mysql-bin.000239' at position 13999540, relay log './mysqld-relay-bin.000261' position: 13999839

mariadb_1 | 2018-09-15 17:04:28 140261962921728 [ERROR] Error in Log_event::read_log_event(): 'Event truncated', data_len: 489, event_type: 2mariadb_1| 2018-09-15 17:04:28 140261962921728 [ERROR] Error reading relay log event: slave SQL thread aborted because of I/O error

mariadb_1| 2018-09-15 17:04:28 140261962921728 [ERROR] Slave SQL: Relay log read failure: Could not parse relay log event entry. The possible reasons are: the master's binary log is corrupted (you can check this by running'mysqlbinlog'on the binary log), the slave's relay log is corrupted (you can check this by running 'mysqlbinlog' on the relay log), a network problem, or a bug in the master's or slave's MySQL code. If you want to check the master's binary log or slave's relay log, you will be able to know their names by issuing 'SHOW SLAVE STATUS' on this slave. Internal MariaDB error code: 1594mariadb_1| 2018-09-15 17:04:28 140261962921728 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'mysql-bin.000239' position 13999540mariadb_1| 2018-09-15 17:04:28 140261962921728 [Note] Slave SQL thread exiting, replication stopped in log 'mysql-bin.000239' at position 13999540mariadb_1| 2018-09-15 17:04:28 140261963224832 [Note] Slave I/O thread: connected to master 'xxx@xxx.xxx.xxx.xxx:3306',replication started in log 'mysql-bin.000239' at position 13999582mariadb_1| 2018-09-15 17:04:28 140261711652608 [Note] InnoDB: Buffer pool(s) load completed at 180915 17:04:28

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值