Problem with mysqldump function----------Please help

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Pralay
Forum Newbie
Posts: 1
Joined: Sat Jul 08, 2006 3:02 am

Problem with mysqldump function----------Please help

Post by Pralay »

I have a problem with mysqldump function.

echo passthru("mysqldump --opt -u$username -p$password $dbasename") or die("Sorry");
when i use it in local server it works but when uploaded in the live server it did not rtaher the die statement is being printed.

I thought the username, password or the dtabase name may be wrong. But i checked those and came with no error.

Pralay
Developer
Diadem Technologies
Post Reply