Percona innobackupex Issue

./innobackupex --defaults-file=/mysql/my.cnf --compress /mysql/mysqlbkp/ --user=root --password=XXXXXX -port=3306 --socket=/mysql/dbsocket

When I execute this, I am getting thie error:

wdbsocket’ --unbuffered –
120526 00:39:51 innobackupex: Connected to database with mysql child process (pid=23029)
innobackupex: Error: mysql child process has died: sh: mysql: command not found

Could you please, help I need to fix this ASAP.

Thanks a lot for the help.

Note: Xtrabackup is working fine, But I need a solution to backup both MyISAM and INNODB in hot-backup mode.

Maybe because you have only one dash in the port option, check this one .

./innobackupex --defaults-file=/mysql/my.cnf --compress /mysql/mysqlbkp/ --user=root --password=XXXXXX --port=3306 --socket=/mysql/dbsocket



I tried --port it didn’t fix the issue.