Real reasons why phpmyadmin access is denied _ PHP Tutorial

Source: Internet
Author: User
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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.