The real reason why phpmyadmin access is denied. Just install phpmyadmin in the latest version, enter the user name root, and then click log on (because I am local, so root has no password) the result is always an access denied error. check that the permission has just been assigned to the latest phpmyadmin version.
After installation, enter the username "root" and click "log on" (because I am Local, the root account has no password)
The result is always an access denied error.
It's okay to check the permission settings,
No good answers are found on the Internet,
With the root trace code, the original configuration file contains the following sentence:
$ Cfg ['servers'] [$ I] ['allownopasswordroot '] = false;
He was verified in row 886 of libraries/common. inc. php.
If this parameter is set to false, the password cannot be blank if the user name is the root user. Otherwise, the password is not verified. by default, the password is flase. change it to true,
I think this may be for the sake of security. people must set the root password. Oh, but I think it is inconvenient to test it. Generally, local root users are empty.
He can change the prompt statement, saying that your root password is blank and logon is not allowed at the current security level.
You can change the settings at XXX, so you may understand that it is too difficult to find the reason for a single access rejection!
After the token is installed, enter the user name root and click log on (because I am local, so root has no password). The result is that the access is rejected and the permission is read...