MySQL Forums
Forum List  »  Install & Repo

where is default startup configuration Mac Lion
Posted by: Jim Longo
Date: November 16, 2012 03:49PM

Hi, I installed mysql 5.5.28 from the binary installer on Mac 10.7.5 along with the Control panel which starts and stops the server. I've added the path /usr/local/mysql/bin

I can log in using [mysql -u root -h localhost -p]


Originally I was logging in just using [mysql] at the prompt.
However after much frustration I found that while I was logging in as 'myusername' I was authenticating as 'anonymous'.

Long story short, I now have a password assigned to 'myusername'

However when I try to login simply using [mysql] at the prompt I am greeted by the error message
"Access denied for user 'myusername'@'localhost' (using password: NO)"

I assume it's because the login is expecting an anonymous login, because I can log in using [mysql -u myusername -h localhost -p]

Where is the configuration that I can change so I can simply login with [mysql] ?

Thanks for any help,
jim

Options: ReplyQuote


Subject
Written By
Posted
where is default startup configuration Mac Lion
November 16, 2012 03:49PM


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.