我的配置: 大师(Mysql 5.5.33) 奴隶(MariaDb 5.5.33)
奴隶状态:
InnerClass triangle = new InnerClass(300, 260, 196);
在主人的表格中插入一行后,奴隶会收到更改,但不会应用它。
我在奴隶上禁用了以下功能:
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
我确认有效禁用。
我验证了mariadb日志:
从属I / O:通过SET master_binlog_checksum = global.binlog_checksum通知主站失败,错误:未知系统变量binlog_checksum,Error_code:1193
有人能帮助我吗?
答案 0 :(得分:0)
我在slave my.cnf文件中使用此选项解决了: 复制重写-DB = sn1db-> sn1db2