mysqldump

From: Date: Tue, 17 Aug 2010 18:08:53 +0000
Subject: mysqldump
Groups: php.general 
Request: Send a blank email to php-general+get-307496@lists.php.net to get a copy of this message
Hi gang:
At 6:11 PM -0400 8/13/10, Daniel P. Brown wrote:
    Easiest method, from the command line on the server from which you
want to dump the database:
        mysqldump -u user -p database_name > outfile.sql
That might be the easiest, but all I get is an empty file. I've tried many different variations of the syntax using exec(), but nothing produces any subsistent output. What am I doing wrong? As for accessing a command line, I am still in the dark as to how to do that. Cheers, tedd -- ------- http://sperling.com/

« previous php.general (#307496) next »