Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basic question...after installing mysql, I get access denied

Status
Not open for further replies.

dcnguyen

Technical User
Mar 22, 2005
54
US
So I installed MySQL for Mac OS X 10.4.8 Client, using the latest installer. No problems doing so...however, when trying to login using mysql -u root...it says:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

I'm new at MySQL, what commands am I supposed to run to set everything up. I've googled this error message and looked through other forums, but haven't found the (what I think) is the basic answer to this.
 
It starts the MySQL monitor...however, I can't do anything like create databases:

mysql> create database dt
-> ;
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'dt'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top