PhpMyAdmin does not allow empty password login Solution

Source: Internet
Author: User

After the mysql service is installed, there is no password by default. If we choose to install phpmyadmin to manage our database, during login, an error message such as "empty password login is forbidden (see allow blank password)" May cause logon failure, after my research, I did not forget to summarize it and share it with my colleagues.

The solution is as follows:

(1) Find

Config. inc. php (root directory) or config. default. php (root directory) or: libraries \ config. default. php (why are there so many or different versions of phpmyadmin may involve different files, but basically these three files are actually only one file)

(2) Open the configuration file you found, and replace the following:

$ Cfg ['servers'] [$ I] ['allownopassword'] = false;

Changed:

$ Cfg ['servers'] [$ I] ['allownopassword'] = true;

OK, it is done. Now phpMyAdmin does not allow empty password login.

Articles you may be interested in
  • How to Set automatic login for phpmyadmin
  • How to Set automatic phpmyadmin login and cancel Automatic Login
  • Phpmyadmin configuration file description
  • How to change the default empty password of xampp mysql
  • PHP reports Fatal error Allowed memory size of... how should we solve the problem of insufficient memory?
  • Php and mysql uft-8 Chinese encoding garbled several solutions
  • Php. ini configuration Manual
  • Summary of methods for generating random passwords in php

Related Article

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.