在MariaDB副本上更改数据库失败

nnsrf1az  于 6个月前  发布在  其他
关注(0)|答案(1)|浏览(60)

我会喜欢你的建议
我有两个MariaDB RDS示例-一个主示例,一个是使用binlog复制的副本示例,使用此函数https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-stored-proc-replicating.html#mysql_rds_set_external_master
binlog_format = ROW slave_type_conversion = ALL_LOSSY,ALL_NON_LOSSY(最初我只设置为ALL_NON_LOSSY,出于绝望,我做了两个)
我在我的副本上将不同表中的多个列从timestamp(6)更改为datetime(6),但show slave status显示错误:
Last_Error:无法将表'mytable.mycolumn'的列3从类型'timestamp'转换为类型'datetime(6)'
还有什么我错过了吗?一些其他的依赖关系,一些我忘记设置的参数?这个文档让它看起来如此简单https://mariadb.com/kb/en/replication-when-the-primary-and-replica-have-different-table-definitions/#row-based-replication
这两个示例都在MariaDB 10.6.15上

kqhtkvqz

kqhtkvqz1#

注意到了。我已经把这个写进了bug报告MDEV-32805

相关问题