PhpMyAdmin tries to connect to the MySQL server, but the server rejects the connection. Check the host, user name, and password phpmyadmin in config. inc. php.
PhpMyAdmin can be enabled at the beginning, but I changed the root password in the permission, and then opened phpMyAdmin, and it will show: "phpMyAdmin tried to connect to the MySQL server, but the server refused to connect. Check the host, user name, and password in config. inc. php and make sure the information is consistent with the information given by the administrator of the MySQL server .", The strange thing is that I set config. inc. in php, the $ cfg ['servers'] [$ I] ['password'] has already filled in the password. why not?
Solution:
Clear the browser cache
Or
Change config in The phpmyadmin directory. inc. in php: $ cfg ['servers'] [$ I] ['auth _ type'] = 'config'; changed: $ cfg ['servers'] [$ I] ['auth _ type'] = 'http ';
You can...