gpt4 book ai didi

mysql - 将 Mysql 5.5.33 复制到 MariaDB 5.5.33 问题

转载 作者:行者123 更新时间:2023-11-29 17:38:10 25 4
gpt4 key购买 nike

我的配置:主控(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_verify_checksum=OFF
slave_sql_verify_checksum=0
binlog_checksum=NONE

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

我验证了 mariadb 日志:

从站 I/O:通过 SET master_binlog_checksum= global.binlog_checksum 通知主站失败,错误:未知系统变量 binlog_checksum,Error_code:1193

有人可以帮助我吗?

最佳答案

我在从属 my.cnf 文件上使用此选项解决了问题:复制重写-db=sn1db->sn1db2

关于mysql - 将 Mysql 5.5.33 复制到 MariaDB 5.5.33 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50151373/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com