how to resolve 1044 error in mysql

Posted by Shanky11 under Others on 10/17/2012 | Points: 10 | Views : 1796 | Status : [Member] | Replies : 1
I'm having this error message:
error 1044 : access denied for user :' '@' localhost' to database 'immo'
When I try to connect to a database with mysql.


Posted by: Ranjeet_8 on: 10/17/2012 [Member] [MVP] Gold | Points: 25

Connect to database with root

mysql -u root -pyourpassword

(change your password with password you have for root or leave in blank in case you havent set it). Now you should have access to your db. Check this thread how to set permissions for users

Shanky11, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response