Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysqldump - weird charachters in password

Status
Not open for further replies.

youradds

Programmer
Jun 27, 2001
817
GB
Hi,

Got a bit of a problem :(

I'm trying to do:

mysqldump --add-drop-table -ucontest -p'Du~Ce1D#gp(K' contest > contest.sql

..but I'm getting an "access denied" error when trying this :(

If I do:

mysqldump --add-drop-table -ucontest -p contest > contest.sql
-p (then enter the password)

..it works fine!

Anyone got any suggestions? My guess is that its something to do with the weird charachters in the password - but can I get around that? It will be a bugger if I have to edit all the database logins, and the scripts that use it :(

TIA!

Andy
 
Try a space between the -p and the 'Du...'
Might work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top