#190235 - 2008-10-22 09:45 AM
Re: how to echo a password
[Re: NTDOC]
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Most versions of mysqldump use "-p" or "--password=" to provide the password.
I see that you have got "-p" in your command, but you have not specified the password - leaving the password blank forces the command to prompt for one. Make sure that you do not leave a space between the "-p" and the password.
Depending on your version of MySQL you may also supply the password in a configuration file, which may be more appropriate. See http://dev.mysql.com/doc/refman/4.1/en/password-security.html for more information.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 320 anonymous users online.
|
|
|