Hi,
I’m receiving a couple errors when I run pt-table-checksum over an older 5.0.60-enterprise-gpl-log.
Here is the command I’m using (against the master):
pt-table-checksum -uroot -predacted
–replicate test.ptchecksums --create-replicate-table --empty-replicate-table --chunk-size=1M
–databases BIMCDB
–tables=agentnotes
–ignore-columns image,versionfile
db.panora.local
Below is the first message received. I’m not having any hangs or lockups when I run it over all tables. What is the significance of this message?
Failed to SET SESSION innodb_lock_wait_timeout=1: DBD::mysql::db do failed: Unknown system variable ‘innodb_lock_wait_timeout’ [for Statement “SET SESSION innodb_lock_wait_timeout=1”] at /usr/bin/pt-table-checksum line 6450.
The current innodb_lock_wait_timeout value 50 is greater than the --lock-wait-timeout value 1 and the variable cannot be changed. innodb_lock_wait_timeout is only dynamic when using the InnoDB plugin. To prevent this warning, either specify --lock-wait-time=50, or manually set innodb_lock_wait_timeout to a value less than or equal to 1 and restart MySQL.
This is the message that seems more important. I run the slave on a nonstandard port number so that no one will accidentally connect to it.
Cannot connect to h=lx20.panora.local,p=…,u=root
How can I tell pt-table-checksum that the slave (lx20) is running on a nonstandard port?
Thank you.
Regards,
Rich