phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection code example
Example: phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection.
/* Answer to: "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." */
/*
Go to c:\wamp\apps\phpmyadmin3.3.9. Then open/edit the file named:
config.inc.php
And in the following line, enter the password that you have setup
previously:
$cfg['Servers'][$i]['password'] = '';
> If your password is "123":
> $cfg['Servers'][$i]['password'] = '123';
This should work, if not change this:
from: $cfg['Servers'][$i]['AllowNoPassword'] = true;
to: $cfg['Servers'][$i]['AllowNoPassword'] = false;
*/