MySQL Forums
Forum List  »  Install & Repo

Error 1045 -> I used the wrong syntax for logging in, now its fine
Posted by: R P
Date: November 23, 2010 07:56AM

Just to be sure none of you has the problem I had, cause I found out I was using the wrong synatx. I tried:

mysql -u root dbname

This gave me the 1045 error (Using Password:NO). I then tried:

mysql -u root -p dbname

I was then asked for my Password and everything was fine.

Options: ReplyQuote


Subject
Written By
Posted
June 27, 2009 08:29PM
December 16, 2007 02:18AM
December 27, 2007 02:08PM
January 16, 2011 06:51AM
August 27, 2009 12:22AM
Error 1045 -> I used the wrong syntax for logging in, now its fine
R P
November 23, 2010 07:56AM


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.