# Does pt-table-checksum need access to the slave?

**URL:** <https://forums.percona.com/t/does-pt-table-checksum-need-access-to-the-slave/5458>\
**Category:** Percona Toolkit\
**Created:** [March 2, 2017, 11:52am UTC](https://forums.percona.com/t/does-pt-table-checksum-need-access-to-the-slave/5458 "2017-03-02T11:52:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbrampton](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mbrampton/32/1162_2.png) [@mbrampton](https://forums.percona.com/u/mbrampton)\
**Post date:** [March 2, 2017, 11:52am UTC](https://forums.percona.com/t/does-pt-table-checksum-need-access-to-the-slave/5458/1 "2017-03-02T11:52:53Z")

</div>

This sems an awfully dumb question, but I can’t see the answer to it. Does pt-table-checksum need access to the slave? Every time I run it, a message is displayed “Diffs cannot be detected because no slaves were found”. It seems happy that it is connecting to the local (master) DB, and if I connect to the DB, then processlist includes:  
1884 | replicator | localhost:57545 | NULL | Binlog Dump | 108036 | Master has sent all binlog to slave; waiting for binlog to be updated | NULL  
and show slave hosts gives:  
101 | | 3306 | 1  
Now it is certainly not possible to connect to the slave. It is heavily firewalled with an SSH tunnel to the master which will not work in the opposite direction. (All deliberate!) Is it possible to run pt-table-checksum in that environment, or do I have to provide the ability to connect to the slave?

---

<div class="post-metadata">

**Author:** ![carlos.salguero](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/carlos.salguero/32/20_2.png) [@carlos.salguero](https://forums.percona.com/u/carlos.salguero)\
**Post date:** [March 2, 2017, 12:35pm UTC](https://forums.percona.com/t/does-pt-table-checksum-need-access-to-the-slave/5458/2 "2017-03-02T12:35:27Z")

</div>

Hi,

You can specify to skip checking the slaves.

According to the documentation [here](https://www.percona.com/doc/percona-toolkit/2.2/pt-table-checksum.html#cmdoption-pt-table-checksum--recursion-method):

> [@](#):
>
> The none method makes the tool ignore all slaves and cluster nodes. This method is not recommended because it effectively disables the “REPLICA CHECKS” and no differences can be found. It is useful, however, if you only need to write checksums on the master or a single cluster node. The safer alternative is --no-replicate-check: the tool finds replicas and cluster nodes, performs the “REPLICA CHECKS”, but does not check for differences. See --[no]replicate-check.

Regards

---

<div class="post-metadata">

**Author:** ![mbrampton](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mbrampton/32/1162_2.png) [@mbrampton](https://forums.percona.com/u/mbrampton)\
**Post date:** [March 2, 2017, 12:58pm UTC](https://forums.percona.com/t/does-pt-table-checksum-need-access-to-the-slave/5458/3 "2017-03-02T12:58:45Z")

</div>

Is that a “yes”?

---

<div class="post-metadata">

**Author:** ![carlos.salguero](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/carlos.salguero/32/20_2.png) [@carlos.salguero](https://forums.percona.com/u/carlos.salguero)\
**Post date:** [March 2, 2017, 1:04pm UTC](https://forums.percona.com/t/does-pt-table-checksum-need-access-to-the-slave/5458/4 "2017-03-02T13:04:48Z")

</div>

Yo can run it but it won’t generate diff against the slaves.
