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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pearl15
    New Member
    • Oct 2008
    • 4

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

    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'@'localho st' (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?
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    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?

    Comment

    Working...