A week ago phpmyadmin was working fine but now whenever I try and access phpmyadmin, (in xampp localhost) it displays 2 error messages and nothing more. They are as follows:
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.
Cannot connect: invalid settings.
What I don't understand is that my other webpages can read the mysql databases fine but phpmyadmin cannot. I have checked the configuration file of phpmyadmin and everything seems to be normal. So has anybody had this problem or know how to solve it because I really need to be able to manage my databases for development reasons.