By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,701 Members | 1,970 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,701 IT Pros & Developers. It's quick & easy.

MYSQL says #1045 - Access denied for user 'root'@'localhost' (using password: NO)

P: 4
Hello All

I have successfully installed the following

IIS ver 6
php ver 4.4.9
MYSQL ver 5.0.67

when i tested through command line i get no error and i am view the php pages on the browser without any hitch. In the beginning when i was trying to connect to MYSQL through simple php script i was getting an authentication error which i could resolve by using OLD_PASSWORD.

Now during final stages ,
Now when i have installed phpMyAdmin ver 2.0.8.3and have also configured config.inc.php. There is persistent error i am getting which is something like

MYSQL says #1045 - Access denied for user 'root'@'localhost' (using password: NO)

I have tried OLD_PASSWORD technique which won't work. I have almost wasted 2 days on this. Can someone really suggest how to come out of this and make phpMyAdmin work . Is MYSQL is a problem?
Oct 29 '08 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
Perhaps a different php.ini file is being used rather than the one you have configured. Can you check that you are using the correct .ini file using the phpinfo script?
Oct 30 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.