MySQL Forums
Forum List  »  Newbie

Re: Strange Password Issue
Posted by: Felix Geerinckx
Date: June 21, 2005 01:24AM

Tim Pinkawa wrote:
> I'm using mysqldump in a shell script so I need to pass my password in the command line. I'm
> using the following command:
>
> mysqldump -u tim -password mypassword thedatabase > backup.sql
>
> The error message:
>
> ERROR 1045 (28000): Access denied for user 'tim'@'localhost' (using password: YES)

Try the following:

mysqldump -u tim -pmypassword thedatabase > backup.sql

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Written By
Posted
June 20, 2005 10:48PM
Re: Strange Password Issue
June 21, 2005 01:24AM
June 21, 2005 01:37AM


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.