I am trying to backup a mysql database where the socket does not live in the standard location.
121228 13:28:38 innobackupex: Connected to database with mysql child process (pid=27527)
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)
2012-12-28 13:28:42 +0000 [INFO] : [ XtraBackup step completed OK. Proceeding with apply-log step... ]
2012-12-28 13:28:44 +0000 [INFO] : [ Cleaning up files... ]
2012-12-28 13:28:44 +0000 [INFO] : [ Released lock on port 10000. ]
2012-12-28 13:28:44 +0000 [ERROR] : [ An error occurred while trying to perform the backup. Proceeding to log some details to help debug... ]
2012-12-28 13:28:44 +0000 [ERROR] : [ Error Caught: genericBackupTaker->takeFullBackupSnapshot: Error: There was an error applying logs - The process returned code 1. The output from the apply log process is as follows:
Given that I may have multiple instances on a single machine how do I configure xbm to take the path to a socket of a configuration file which can contain the path to the socket.