将Mysql 5.5.33复制到MariaDB 5.5.33问题
我的配置: Master(Mysql 5.5.33) 从属(MariaDb 5.5.33) 从机状态:将Mysql 5.5.33复制到MariaDB 5.5.33问题,mysql,mariadb,database-replication,Mysql,Mariadb,Database Replication,我的配置: Master(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_Ma
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_verify_checksum=OFF
slave_sql_verify_checksum=0
binlog_checksum=NONE
我也证实了他们实际上是残疾的
我验证了mariadb日志:
从属I/O:通过设置master\u binlog\u checksum=global通知master。binlog\u checksum失败,错误:未知系统变量binlog\u checksum,错误代码:1193
有人能帮我吗?我用slave my.cnf文件上的这个选项解决了这个问题: 复制重写db=sn1db->sn1db2