# Hi ! I have a problem. "innobackupex-1.5.1: Error: Couldn't run mysql: sh: mysql: command not f

**URL:** <https://forums.percona.com/t/hi-i-have-a-problem-innobackupex-1-5-1-error-couldnt-run-mysql-sh-mysql-command-not-f/2111>\
**Category:** Percona XtraBackup\
**Created:** [December 28, 2010, 2:51am UTC](https://forums.percona.com/t/hi-i-have-a-problem-innobackupex-1-5-1-error-couldnt-run-mysql-sh-mysql-command-not-f/2111 "2010-12-28T02:51:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rollingsun](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@rollingsun](https://forums.percona.com/u/rollingsun)\
**Post date:** [December 28, 2010, 2:51am UTC](https://forums.percona.com/t/hi-i-have-a-problem-innobackupex-1-5-1-error-couldnt-run-mysql-sh-mysql-command-not-f/2111/1 "2010-12-28T02:51:45Z")

</div>

Hi !  
I’m in trouble , when I download innobackupex and use it,  
“innobackupex-1.5.1: Error: Couldn’t run mysql: sh: mysql: command not found”

I have installed 5 mysql on a server that running on different port.

this is my mysql configuration

"./configure ‘–prefix=/web/sns/mysql3301’ ‘–localstatedir=/web/sns/mysql3301/data’ ‘-with-unix-socket-path=/web/sns/mysql3301/data/mysql3301.so cket’ ‘–with-tcp-port=3301’ ‘–with-client-ldflags=-all-static’ ‘–with-mysqld-ldflags=-all-static’ ‘-?with-mysqld-user=mysql’ ‘–sysconfdir=/web/sns/mysql3301/’ ‘–enable-assembler’ ‘–with-extra-charsets=utf8,gb2312,gbk’ ‘-enable-th誶ead-safe-client’ ‘–with-big-tables’ '–with-plugins=innobase,innodb\_plugin,myisam,partition,heap ’ "

I saw innobackupex script ,but the “my $config\_file” was commented.

any idea ? thank you !

---

<div class="post-metadata">

**Author:** ![rollingsun](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@rollingsun](https://forums.percona.com/u/rollingsun)\
**Post date:** [December 29, 2010, 7:15pm UTC](https://forums.percona.com/t/hi-i-have-a-problem-innobackupex-1-5-1-error-couldnt-run-mysql-sh-mysql-command-not-f/2111/2 "2010-12-29T19:15:40Z")

</div>

OK , I use export PATH=$PATH:/web/sns/mysql3301/bin ,

it works !
