gpt4 book ai didi

mysql - Percona:无法检测到差异,因为没有找到奴隶

转载 作者:行者123 更新时间:2023-11-29 05:11:51 24 4
gpt4 key购买 nike

我正在尝试使用工具 Percona 查看主从 MySQL 实例上的数据不一致。 Master 和 Slave 在不同的服务器上。我尝试使用递归方法运行 pt-table-checksum,因为下面的进程列表是错误的:

enter image description here

我尝试使用递归方法运行 pt-table-checksum,因为下面的 dsn 方法是错误的:

enter image description here

bxxmysqld1 主机:10.200.213.32:bxxxxd02my1

bxxmysqld2 从机:10.200.213.92:bxxxxd02my2

我不确定我现在可以尝试什么配置。任何建议和想法都是有帮助的。请建议我是否可以尝试其他递归方法。谢谢!

引用资料: https://www.percona.com/doc/percona-toolkit/2.2/pt-table-checksum.html

https://www.percona.com/forums/questions-discussions/percona-toolkit/35307-pt-table-checksum-connect-to-a-slave-without-ip-connection

https://www.percona.com/forums/questions-discussions/percona-toolkit/16772-pt-table-checksum-percona-toolkit-2-2-7-1-not-able-to-find-the-slaves

最佳答案

乔什,

你试过从master连接到你的slave吗?在第一个例子中,用户可能没有连接到从机的权限,试试这个:mysql -uptc -psecret -h10.200.213.92 查看是否可以连接,如果不能,则需要提供对主控主机的访问权限(即通过允许主机 10.200.213.32 的授权命令)在第二个选项中,您需要删除套接字选项,因为它们仅适用于 localhost 连接,如果允许主机连接到从站,建议仍然适用。希望这可以帮助。

弗朗西斯科。

关于mysql - Percona:无法检测到差异,因为没有找到奴隶,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38359059/

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