Comment 11 for bug 1693614

Revision history for this message
Stanley C (stanleyxcnx) wrote :

I actually just ran into this issue running pt-online-schema-change against a master with one slave attached and --check-slave-lag. Command options are:

pt-online-schema-change -F ./.my.cnf \
        --chunk-time=30 \
        --progress=time,30 \
        --check-slave-lag h=xxx.xxx.xxx.xxx,u=username,p='secret' \
        --max-lag=120 \
        --recursion-method=none \
 --statistics \
        --execute

I didn't specify the port number to check-slave-lag because I didn't think I needed to because slave accepts connection on standard mysql port.

Both master and slave are mysql 5.1.x

I am not sure printing 'Socket' would be correct in my case.