Re: mysqldump and special characters in the password



On Thu, 2006-08-31 at 08:06 -0500, Mumia W. wrote:
mysqldump -u root --password=p@$$w0rd web8_db1
/home/backup/web8_db1.sql

This fails. But I can log in with mysql -u root -p and then type the
password in, and that works.

How do I get mysqldump to deal to deal with the funny characters?
[snip]
Put single quotes around the password.

That's the first thing I tried - I tried escape characters too - no joy.

Thanks
Hans


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: mysqldump and special characters in the password [solved]
    ... But I can log in with mysql -u root -p and then type the ... How do I get mysqldump to deal to deal with the funny characters? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: mysqldump and special characters in the password [solved]
    ... How do I get mysqldump to deal to deal with the funny characters? ... "$$" expands to the current shell's PID. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: mysqldump and special characters in the password
    ... I'm setting up a script to backup the mysql databases on a web server. ... mysqldump -u root --password=p@$$w0rd web8_db1 ... How do I get mysqldump to deal to deal with the funny characters? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • RE: Cant reboot after update
    ... Kernel panic-not syncing: VFS: unable to mount root fs on ... server in our server room just after I started a normal reboot, ... etch host running on a Dell PowerEdge 2450 server. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Unable to su as a user, I get: Cannot execute /bin/bash: Permission denied
    ... It'll be executed by the user, not root. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Also to be a right prat, chmod a-x `which chmod` (don't do it, but i've ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (Debian-User)