Page 1 of 1

Access Denied to phpmyadmin!!!

PostPosted: 18. April 2010 19:37
by wolfeclann
when I try to go to phpmyadmin I get the following error message:
"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."
Any clues how to get around or solve this?

Re: Access Denied to phpmyadmin!!!

PostPosted: 26. April 2010 03:10
by MC10
Edit \xampp\phpMyAdmin\config.inc.php, lines 18-22:

Code: Select all
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type']            = 'config';
$cfg['Servers'][$i]['user']                 = 'root';
$cfg['Servers'][$i]['password']             = '';
$cfg['Servers'][$i]['AllowNoPassword']      = true;


Change to:

Code: Select all
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type']            = 'config';
$cfg['Servers'][$i]['user']                 = 'root';
$cfg['Servers'][$i]['password']             = 'password';
$cfg['Servers'][$i]['AllowNoPassword']      = true;


Replace "password" with your actual password. Try logging in to phpMyAdmin again.