MySQL server rejected connection - NEWBIE Question

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

MySQL server rejected connection - NEWBIE Question

Postby FeralReason » 22. April 2009 04:17

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
FeralReason
 
Posts: 19
Joined: 16. April 2009 20:42

Re: MySQL server rejected connection - NEWBIE Question

Postby Wiedmann » 22. April 2009 07:42

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.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 107 guests