Page 1 of 1

MySQL server rejected connection - NEWBIE Question

PostPosted: 22. April 2009 04:17
by FeralReason
I have XAMPP installed on Windows XP. Decided to play around in the phpMyAdmin window (before I fully understood what I was doing). Added a password for root and then created a new user with the same password.

Got an error (either immediately or right after reclicking on Admin in the XAMPP Control Panel:

"Cannot connect: invalid settings.
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."

Hopefully someone knows how to fix this. I'd really rather not do another re-install of XAMPP now that everything else is working !

Thanx, Glenn

Re: MySQL server rejected connection - NEWBIE Question

PostPosted: 22. April 2009 07:42
by Wiedmann
You must also configure phpMyAdmin for this new password for the user root (in config.inc.php).

BTW:
There is also a good phpMyAdmin documentation, which explains authentication in phpMyAdmin.