• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

mysql and msqldump path

H

Hossein Emami

Guest
Dear friends

I don't know the path for sql database for all domain and also the mysqldump path.
I any body knows it please tell me.
Regards
 
me too. Trying to set up a cron that calls a php script with

exec("/usr/bin/mysqldump -h $dbHost --all-databases -u $dbUser -p$dbPass > $dir/mysqlbackup.sql");

and I just keep getting

sh: /mysqldump: No such file or directory

Have also tried

exec("mysqldump -h $dbHost --all-databases -u $dbUser -p$dbPass > $dir/mysqlbackup.sql");


But I get the same result. PHP safe_mode is off for this domain but on for the master value if that makes any difference.

Thanks in advance
 
yeah safe_mode is the problem

needs to be off in

/etc/php.ini

hope that helps
 
Back
Top