Access Denied to phpmyadmin!!!

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Access Denied to phpmyadmin!!!

Postby wolfeclann » 18. April 2010 19:37

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?
wolfeclann
 
Posts: 1
Joined: 18. April 2010 19:15

Re: Access Denied to phpmyadmin!!!

Postby MC10 » 26. April 2010 03:10

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.
MC10
 
Posts: 148
Joined: 20. February 2010 20:13


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 125 guests