【问题标题】:Replication Mysql 5.5.33 to MariaDB 5.5.33 issue将 Mysql 5.5.33 复制到 MariaDB 5.5.33 问题
【发布时间】:2018-05-03 09:20:54
【问题描述】:

我的配置: 大师(Mysql 5.5.33) 奴隶(MariaDb 5.5.33)

从属状态:

Variable    Value
Slave_IO_State  Waiting for master to send event
Master_Host     127.0.0.1
Master_User     sn1
Master_Port     12345
Connect_Retry   60
Master_Log_File     mysql-bin.000011
Read_Master_Log_Pos     1535
Relay_Log_File  mysqld-relay-bin.000014
Relay_Log_Pos   391
Relay_Master_Log_File   mysql-bin.000011
Slave_IO_Running    Yes
Slave_SQL_Running   Yes
Replicate_Do_DB     sn1db2
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     1535
Relay_Log_Space     2260
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 的表中插入一行后,slave 收到更改但不应用它。

我在 slave 上禁用了以下功能:

master_verify_checksum=OFF
slave_sql_verify_checksum=0
binlog_checksum=NONE

并且我验证了它实际上已被禁用。

我验证了mariadb日志:

Slave I/O: Notifying master by SET master_binlog_checksum= global.binlog_checksum failed with error: Unknown system variable binlog_checksum, Error_code: 1193

谁能帮帮我?

【问题讨论】:

    标签: mysql mariadb database-replication


    【解决方案1】:

    我在 slave my.cnf 文件中使用这个选项解决了: 复制-重写-db=sn1db->sn1db2

    【讨论】:

      猜你喜欢
      • 2018-07-14
      • 1970-01-01
      • 1970-01-01
      • 2022-11-02
      • 2019-01-07
      • 1970-01-01
      • 2017-01-02
      • 2018-07-09
      • 1970-01-01
      相关资源
      最近更新 更多