Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Hi I'm pretty new to the WAMP scene, I've just downloaded WAMP from: http://www.wampserver.com/en/download.php

And got it installed with ease. I've set up a password to MySQL using cmd.exe on Windows (7, 64-bit) using the following command:

mysqladmin -u root -p password "newpassword"

Now when I click the WAMPSERVER icon on my system tray, go to phpmyAdmin I get hit with an Access denied page which states:

MySQL said:

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

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

If anyone can help me out that would be magnificent, I pretty much have no knowledge about servers and such, so please bear with me.

share|improve this question

closed as off-topic by Jenny D, Cristian Ciupitu, Hyppy, Massimo, masegaloeh May 6 at 15:13

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow." – Massimo, masegaloeh
  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – Jenny D, Cristian Ciupitu, Hyppy
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 2 down vote accepted

You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

Find your config.inc.php file under the phpMyAdmin installation directory and update the line that looks like this:

$cfg['Servers'][$i]['password']      = 'password';

... to this:

$cfg['Servers'][$i]['password']      = 'newpassword';
share|improve this answer
    
I works!!! THANK YOU SO MUCH! –  user59631 Nov 9 '10 at 5:22