Re: mysqldump

From: Date: Tue, 17 Aug 2010 19:19:40 +0000
Subject: Re: mysqldump
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-307505@lists.php.net to get a copy of this message
At 11:45 AM -0700 8/17/10, Mari Masuda wrote:
Actually, mysqldump -u user -p password database_name > outfile.sql is also the incorrect command. When providing the password in the command, there should not be a space between the "-p" and the actual password. Try mysqldump -u user -ppassword database_name > outfile.sql and see if that gets you anywhere.
Bingo -- that worked. It's interesting that a space is optional between -u and user, but required to be absent between -p and password. Seems not symmetrical to me. Many thanks. Cheers, tedd -- ------- http://sperling.com/

« previous php.general (#307505) next »