MySQL Forums
Forum List  »  Backup

Backup Command Line for MySQL (Windows)
Posted by: Mark McCandless
Date: July 25, 2005 07:50AM

I am trying to backup a DB called MAIN, using the following command,

mysqldump -u root -p S33qual$$ main > mainbackup.sql

This command gives me an error saying no such Database S33qual$$. If I leave the -p and password option out and hit enter it prompts me for the password, if i then enter S33qual$$ and hit enter it does the backup.

Is it just me or am I missing something here? I am beginning to wonder if the $$ are confusing it..



Options: ReplyQuote

Written By
Backup Command Line for MySQL (Windows)
July 25, 2005 07:50AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.