From waiting for blog
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 confirm that the information is consistent with the information given by the administrator of the MySQL server.
Error
MySQL returns:
#1045-Access denied for user: root @ localhost (Using password: YES)
Convert the config of the first host in config. inc. php into a cookie.
Change password to the new secret
Then, enter the MySQL user name and password during access.
That is
$ Cfg [Servers] [$ I] [auth_type] = config;
$ Cfg [Servers] [$ I] [user] = root;
$ Cfg [Servers] [$ I] [password] =;
$ Cfg [Servers] [$ I] [AllowNoPasswordRoot] = true;
Change
$ Cfg [Servers] [$ I] [auth_type] = cookie; // config;
$ Cfg [Servers] [$ I] [user] = root;
$ Cfg [Servers] [$ I] [password] = 123456;
// $ Cfg [Servers] [$ I] [AllowNoPasswordRoot] = true;