Connecting Tech Pros Worldwide Forums | Help | Site Map

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

Newbie
 
Join Date: Oct 2008
Posts: 4
#1: Oct 29 '08
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?

Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#2: Oct 30 '08

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


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?
Reply