A few months ago I started getting intermittent errors from pt-table-checksum.
pt-table-checksum --nocheck-binlog-format --quiet
Starting checksum ...
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle ;host=localhost;mysql_read_default_group=client at /usr/bin/pt-table-checksum line 5566.
06-01T11:17:43 Error checksumming table schema.table: DBD::mysql::st execute failed: Server has gone away [for Statement "SHOW MASTER STATUS"] at /usr/bin/pt-table-checksum line 5566.
TS ERRORS DIFFS ROWS DIFF_ROWS CHUNKS SKIPPED TIME TABLE
06-01T11:17:43 1 0 52 0 1 0 0.060 schema.table
This is happening with MySQL 8.0.33 and Pecona Toolkit 3.5.2.
The MySQL server hasn’t actually gone away. The server and pt-table-checksum are running in the same host.
Any ideas as to what might be causing this?