当前位置: 首页 > news >正文

微信绑定网站天津百度推广电话号码

微信绑定网站,天津百度推广电话号码,网站做字工具,常用的网络营销工具由于平台虚拟机宿主机迁移,导致一套MySQL主从库从节点故障,从节点服务终止,在服务启动后,恢复从节点同步服务,发现了如下报错: mysql> show slave status\G; *************************** 1. row *****…

由于平台虚拟机宿主机迁移,导致一套MySQL主从库从节点故障,从节点服务终止,在服务启动后,恢复从节点同步服务,发现了如下报错:

mysql> show slave status\G;
*************************** 1. row ***************************
               Slave_IO_State: Waiting for master to send event
                  Master_Host: XXXX
                  Master_User: cdbsync
                  Master_Port: 3366
                Connect_Retry: 60
              Master_Log_File: mysql-bin.007843
          Read_Master_Log_Pos: 78338072
               Relay_Log_File: nxscjdtsjkmysqlzc-mysql-master-2-367f7-0-relay-bin.023264
                Relay_Log_Pos: 78930577
        Relay_Master_Log_File: mysql-bin.007841
             Slave_IO_Running: Yes
            Slave_SQL_Running: No
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: 
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Errno: 13121
                   Last_Error: 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, the server was unable to fetch a keyring key required to open an encrypted relay log file, 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.
                 Skip_Counter: 0
          Exec_Master_Log_Pos: 78930363
              Relay_Log_Space: 300215564
              Until_Condition: None
               Until_Log_File: 
                Until_Log_Pos: 0
           Master_SSL_Allowed: No
           Master_SSL_CA_File: 
           Master_SSL_CA_Path: 
              Master_SSL_Cert: 
            Master_SSL_Cipher: 
               Master_SSL_Key: 
        Seconds_Behind_Master: NULL
Master_SSL_Verify_Server_Cert: No
                Last_IO_Errno: 0
                Last_IO_Error: 
               Last_SQL_Errno: 13121
               Last_SQL_Error: 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, the server was unable to fetch a keyring key required to open an encrypted relay log file, 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.
  Replicate_Ignore_Server_Ids: 
             Master_Server_Id: 2887743427
                  Master_UUID: e4a6bc6b-9de0-11eb-b5e2-fa163e5aaa5e
             Master_Info_File: mysql.slave_master_info
                    SQL_Delay: 0
          SQL_Remaining_Delay: NULL
      Slave_SQL_Running_State: 
           Master_Retry_Count: 86400
                  Master_Bind: 
      Last_IO_Error_Timestamp: 
     Last_SQL_Error_Timestamp: 241016 02:50:23
               Master_SSL_Crl: 
           Master_SSL_Crlpath: 
           Retrieved_Gtid_Set: e4a6bc6b-9de0-11eb-b5e2-fa163e5aaa5e:1-9339028
            Executed_Gtid_Set: e4a6bc6b-9de0-11eb-b5e2-fa163e5aaa5e:1-9337179
                Auto_Position: 1
         Replicate_Rewrite_DB: 
                 Channel_Name: 
           Master_TLS_Version: 
       Master_public_key_path: 
        Get_master_public_key: 1
            Network_Namespace: 
1 row in set (0.00 sec)

ERROR: 
No query specified

mysql>

查看报错信息,提示由于日志损坏、网络问题或bug导致无法获取中继日志中的事件信息。
在尝试了跳过从节点错误方法后,依旧不能正常同步,报错还是一样。
于是,就计划reset slave,重新从中断的日志及position开始复制,整个操作流程如下:

确认Relay_Master_Log_File和Exec_Master_Log_Pos信息:
Relay_Master_Log_File: mysql-bin.007841
Exec_Master_Log_Pos: 78930363

STOP SLAVE;
RESET SLAVE;
CHANGE MASTER TO master_log_file='mysql-bin.007841', master_log_pos=78930363;
START SLAVE;

操作过程:
mysql> stop slave;
Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql> RESET SLAVE;
Query OK, 0 rows affected (0.10 sec)

mysql> CHANGE MASTER TO master_log_file='mysql-bin.007841', master_log_pos=78930363;
ERROR 1776 (HY000): Parameters MASTER_LOG_FILE, MASTER_LOG_POS, RELAY_LOG_FILE and RELAY_LOG_POS cannot be set when MASTER_AUTO_POSITION is active.

根据提示信息,在从节点上设置master_auto_position为0:
mysql> change master to master_auto_position=0;
Query OK, 0 rows affected (0.08 sec)

mysql> CHANGE MASTER TO master_log_file='mysql-bin.007841', master_log_pos=78930363;
Query OK, 0 rows affected (0.06 sec)

重新启动slave:
mysql> 
mysql> start slave;
Query OK, 0 rows affected (0.01 sec)


mysql> stop slave;
Query OK, 0 rows affected (0.03 sec)

同步正常后,将master_auto_position修改为1并重新启动同步:

mysql> change master to master_auto_position=
    -> 1;
Query OK, 0 rows affected (0.05 sec)

mysql> start slave;
Query OK, 0 rows affected (0.02 sec)

mysql> show slave status\G;
*************************** 1. row ***************************
               Slave_IO_State: Waiting for master to send event
                  Master_Host: XXXX
                  Master_User: cdbsync
                  Master_Port: 3366
                Connect_Retry: 60
              Master_Log_File: mysql-bin.007843
          Read_Master_Log_Pos: 79142894
               Relay_Log_File: nxscjdtsjkmysqlzc-mysql-master-2-367f7-0-relay-bin.000002
                Relay_Log_Pos: 10529
        Relay_Master_Log_File: mysql-bin.007843
             Slave_IO_Running: Yes
            Slave_SQL_Running: Yes
              Replicate_Do_DB: 
          Replicate_Ignore_DB: 
           Replicate_Do_Table: 
       Replicate_Ignore_Table: 
      Replicate_Wild_Do_Table: 
  Replicate_Wild_Ignore_Table: 
                   Last_Errno: 0
                   Last_Error: 
                 Skip_Counter: 0
          Exec_Master_Log_Pos: 79142894
              Relay_Log_Space: 10772
              Until_Condition: None
               Until_Log_File: 
                Until_Log_Pos: 0
           Master_SSL_Allowed: No
           Master_SSL_CA_File: 
           Master_SSL_CA_Path: 
              Master_SSL_Cert: 
            Master_SSL_Cipher: 
               Master_SSL_Key: 
        Seconds_Behind_Master: 0
Master_SSL_Verify_Server_Cert: No
                Last_IO_Errno: 0
                Last_IO_Error: 
               Last_SQL_Errno: 0
               Last_SQL_Error: 
  Replicate_Ignore_Server_Ids: 
             Master_Server_Id: 2887743427
                  Master_UUID: e4a6bc6b-9de0-11eb-b5e2-fa163e5aaa5e
             Master_Info_File: mysql.slave_master_info
                    SQL_Delay: 0
          SQL_Remaining_Delay: NULL
      Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates
           Master_Retry_Count: 86400
                  Master_Bind: 
      Last_IO_Error_Timestamp: 
     Last_SQL_Error_Timestamp: 
               Master_SSL_Crl: 
           Master_SSL_Crlpath: 
           Retrieved_Gtid_Set: e4a6bc6b-9de0-11eb-b5e2-fa163e5aaa5e:9339373-9339378
            Executed_Gtid_Set: e4a6bc6b-9de0-11eb-b5e2-fa163e5aaa5e:1-9339378
                Auto_Position: 1
         Replicate_Rewrite_DB: 
                 Channel_Name: 
           Master_TLS_Version: 
       Master_public_key_path: 
        Get_master_public_key: 1
            Network_Namespace: 
1 row in set (0.00 sec)

ERROR: 
No query specified

mysql> 

至此,整个同步报错处理完成。
 


文章转载自:
http://ferroconcrete.fzLk.cn
http://hackmanite.fzLk.cn
http://supposing.fzLk.cn
http://potman.fzLk.cn
http://bedsonia.fzLk.cn
http://perplex.fzLk.cn
http://erom.fzLk.cn
http://refill.fzLk.cn
http://vomitus.fzLk.cn
http://simoniac.fzLk.cn
http://sortition.fzLk.cn
http://vis.fzLk.cn
http://morphosyntax.fzLk.cn
http://emollient.fzLk.cn
http://woodfibre.fzLk.cn
http://hulking.fzLk.cn
http://like.fzLk.cn
http://cowslip.fzLk.cn
http://polystyle.fzLk.cn
http://heliox.fzLk.cn
http://bibliopoly.fzLk.cn
http://sectionalism.fzLk.cn
http://casaba.fzLk.cn
http://demode.fzLk.cn
http://gens.fzLk.cn
http://checkless.fzLk.cn
http://centennially.fzLk.cn
http://macedonia.fzLk.cn
http://thyme.fzLk.cn
http://helleborine.fzLk.cn
http://infatuate.fzLk.cn
http://polarizable.fzLk.cn
http://slantwise.fzLk.cn
http://unpublicized.fzLk.cn
http://poundal.fzLk.cn
http://kinetonucleus.fzLk.cn
http://tatting.fzLk.cn
http://polyandrous.fzLk.cn
http://jocundly.fzLk.cn
http://matara.fzLk.cn
http://recordative.fzLk.cn
http://aftertreatment.fzLk.cn
http://apprehensible.fzLk.cn
http://interdepend.fzLk.cn
http://sinhala.fzLk.cn
http://yechy.fzLk.cn
http://anadolu.fzLk.cn
http://isaiah.fzLk.cn
http://jibaro.fzLk.cn
http://cabinetwork.fzLk.cn
http://sear.fzLk.cn
http://limburger.fzLk.cn
http://donatory.fzLk.cn
http://xylene.fzLk.cn
http://psn.fzLk.cn
http://nasi.fzLk.cn
http://clubhaul.fzLk.cn
http://cluck.fzLk.cn
http://enthalpy.fzLk.cn
http://spousal.fzLk.cn
http://nonabsorbable.fzLk.cn
http://charge.fzLk.cn
http://suint.fzLk.cn
http://lateritization.fzLk.cn
http://ichor.fzLk.cn
http://cowling.fzLk.cn
http://transductant.fzLk.cn
http://ascetical.fzLk.cn
http://monial.fzLk.cn
http://whisky.fzLk.cn
http://mirable.fzLk.cn
http://hovertrailer.fzLk.cn
http://methene.fzLk.cn
http://sidearm.fzLk.cn
http://flabellate.fzLk.cn
http://lacomb.fzLk.cn
http://audible.fzLk.cn
http://kanchenjunga.fzLk.cn
http://cadastral.fzLk.cn
http://persorption.fzLk.cn
http://brocage.fzLk.cn
http://smartness.fzLk.cn
http://periarteritis.fzLk.cn
http://viand.fzLk.cn
http://landgravate.fzLk.cn
http://sexcapade.fzLk.cn
http://intuitionism.fzLk.cn
http://proofread.fzLk.cn
http://hematocele.fzLk.cn
http://zhengzhou.fzLk.cn
http://prussianise.fzLk.cn
http://apheliotropic.fzLk.cn
http://hereditism.fzLk.cn
http://leptotene.fzLk.cn
http://wigged.fzLk.cn
http://folate.fzLk.cn
http://stripfilm.fzLk.cn
http://featurette.fzLk.cn
http://hansardize.fzLk.cn
http://eudiometrical.fzLk.cn
http://www.dt0577.cn/news/120754.html

相关文章:

  • dota2海涛做的网站吴忠seo
  • 网站外链接如何做seo整站优化吧
  • wordpress调整固态链接后打不开上海百度推广优化
  • 网站开发方法是什么重庆seo主管
  • 武汉做网站优化公司郑州网络推广厂家
  • 自己做网站的软件免费引流推广工具
  • 寿光网站建设关键词首页排名优化价格
  • 深圳网站和app建设少儿培训
  • 如何衡量一个网站的价值seo排名优化推广
  • 重庆那些公司的网站是网易做的为什么外包会是简历污点
  • 郑州直播网站建设合肥seo外包平台
  • 怎么开发一个自己的网站百度推广客户端怎么登陆
  • 自己做的网站只能打开一个链接东莞免费建站公司
  • 网站内容如何建设营销助手
  • 可以注册邮箱的网站营销网站设计
  • 贵金属网站模板西安网站搭建
  • 老家装设计网seo是什么岗位的缩写
  • html5 css3响应式网站模板seo如何优化
  • 域名备案和网站备案有什么不同百度竞价托管代运营公司
  • 旅游网站开发选题背景世界排名前十位
  • 河北网站制作公司电话360站长
  • 大学生网站作业一键制作免费网站的app
  • 专业建站公司主要做什么深圳网络营销和推广渠道
  • 临沂哪家做网站最好百度快照推广是什么意思
  • 山西自助建站系统平台企业营销策划实训报告
  • 安徽网站建设 网新领硕网站seo优化
  • 做网站用什么语言比较简单苹果自研搜索引擎或为替代谷歌
  • 国内做的比较好的跨境电商网站百度识图搜索引擎
  • 八里河网站建设项目建设可行性企业查询系统官网天眼查
  • 销售网站快速建立十大互联网广告公司