View Single Post
  #2 (permalink)  
Old June 27th, 2004, 08:37 PM
happygv happygv is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi there,

You haven't logged into your mysql properly. That is what the error denotes. You should login using username and password.

C:\mysql\bin>mysql -uroot -pYOURPASSWORD

Does your admin user have no password set to it? How you say you are logged in as root? If you are successfully logged in as root you should see any such error(may be some permission issue kind of errors) shown as

ERROR 1044: Access denied for user: 'root@localhost' to ....

Since you are not logged in successfully as any user, you see it as @localhost. So you got to login to accomplish that.

Hope that helps.
Cheers!

_________________________
-Vijay G
Strive for Perfection
Reply With Quote