Today, I tried to change the password for connecting to MySQL.PhpMyAdmin tries to connect to the MySQL server, but the server rejects the connection. 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 problem occurs. After searching, you need to modify other places before you can connect to the database.There are two places to modify.
1. Find the root directory of phpMyAdmin.D: \ Wamp \ apps \ phpmyadmin3.3.9, FindConfig. Inc. phpOpen this file and find this one.CodeYou can modify it.
View code
1 $ Cfg['Servers'] [$ I] ['Auth _ type'] = 'http)
2 $ Cfg['Servers'] [$ I] ['User'] = 'root ';
3$ Cfg['Servers'] [$ I] ['Password'] = 'your password ';
II:The above password cannot be changed.D: \ Wamp \ apps \ phpmyadmin3.3.9 \ LibrariesDirectoryConfig. Default. phpFile, open it, and find
Show Code
1 $ Cfg['Servers'] [$ I] ['Password'] = 'your password ';
After the two steps are completed, the first time still does not work, you need to refresh the page and re-display the page to log on.