1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

mysql and msqldump path

Discussion in 'Plesk for Linux - 8.x and Older' started by Hossein Emami, Mar 5, 2009.

  1. Hossein Emami

    Hossein Emami Guest

    0
     
    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
     
  2. BillT

    BillT Guest

    0
     
    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
     
  3. BillT

    BillT Guest

    0
     
    yeah safe_mode is the problem

    needs to be off in

    /etc/php.ini

    hope that helps
     
Loading...