Hi,
(1) First question on error
I tried to did an innobackupex but it is giving me this error.
innobackupex: Error: mysql child process has died: sh: mysql: no such command
Previously i installed through rpm and it works fine (on the other server though).
Now i tried the binary package, percona-xtrabackup-2.0.1-446.tar.gz, but backup isnt working anynmore…
(2) 2nd question on password
Could someone please help me with it?
innobackupex --no-timestamp --user=root --password=xxx --defaults-file=/etc/sample/my.cnf /tmp/backup
This command works (ends with error in (1) though) but executing this on prompt will end up logging the password into system log file.
So i tried
innobackupex --no-timestamp --user=root --password=xxx --defaults-file=/etc/sample/my.cnf /tmp/backup
assuming that it will ask me to enter my password, just like the way we tried with mysql -uUSER -p
but it doesnt…
How to prompt innobackupex to ask for password from standard input?
Thank you.