Is there a way to specify a separate port/socket when using wsrep_sst_method=xtrabackup?
I am running 5.5.23-55 Percona XtraDB Cluster and wsrep_23.5.r333 as a separate MySQL instance on 2 test machines. These instances are running on a separate socket and port 3307 (both specified in the my.cnf on each machine). When using rsync, replication works correctly, but when using xtrabackup, I see the following in the innobackupex log on the donor (this is with the standard MySQL instance stopped):
120611 13:36:06 innobackupex: Starting mysql with options: --password=xxxxxxxx --user=‘root’ --unbuffered --120611 13:36:06 innobackupex: Connected to database with mysql child process (pid=11014)innobackupex: Error: mysql child process has died: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
This is the socket for the other (non-Galera replicated MySQL instance). I want innobackupex to use /var/run/mysqld/mysqld2.sock instead. I’ve searched here, Google, and look at the Galera documentation so far and haven’t found a way to do so.
Thanks,
Brian