Solve phpMyAdmin does not allow empty password login configuration method

  
phpMyAdmin is a WEB version of the management tool. Many of our stations use phpMyAdmin to do development test environment, sometimes we often encounter the need to enter the login password in the local test, so feel Very inconvenient, then how do we configure the local phpMyAdmin can log in to the management interface without a password, let's take a look at phpMyAdmin does not allow empty password login configuration method, I hope the article can give you some help.

We first open config.inc.php in phpmyadmin. If there is no config.inc.php in the root directory, we can find the libraryconfig.default.php file. The file path may be different because of different versions.

2) Open the configuration file you found and put:
The code is as follows

$cfg['Servers'][$i]['AllowNoPassword'] = false;

changed to:

$cfg['Servers'][$i]['AllowNoPassword'] = true;

Ok, so we can log in with a blank password, of course You mysql itself has a login password or you need to enter a password, then we can set the mysql user password is empty, so you can achieve a real empty password login, of course, the server does not recommend empty password login.

Copyright © Windows knowledge All Rights Reserved