Re: [PHP] mysqldump

[email protected] (tedd)
Newsgroups php.general
Message-ID <p06240805c8909036cf55@[192.168.1.104]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.