Re: mysqldump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 17, 2010 at 15:19, tedd <tedd@xxxxxxxxxxxx> wrote:
>
> 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.

    The command I sent was because - as I said in the original thread
- passing any password directly to the command line is Very Bad[tm].
If you're passing it via exec(), though, and don't want to use an
'expect' shell, passing it directly to -p is at least a bit less
dangerous.  Plus, doing so will not leave anything in your
~/.bash_history on the server.

    That said, sorry for appearing inattentive, despite this being
directed right at me.  I have been out of the office more than in for
the last couple of weeks, while working on a ton of new stuff.
Eventually it will go back to "normal."

-- 
</Daniel P. Brown>
UNADVERTISED DEDICATED SERVER SPECIALS
SAME-DAY SETUP
Just ask me what we're offering today!
daniel.brown@xxxxxxxxxxxx || danbrown@xxxxxxx
http://www.parasane.net/ || http://www.pilotpig.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux