PhpMyAdmin is a WEB version management tool. Many of our sites use phpMyAdmin for development and testing environments. Sometimes we often need to enter the login password during local testing, this is very inconvenient, so how can we configure the local phpMyAdmin interface to log on without a password? Let's take a look at phpMyAdmin's failure to allow empty password login configuration methods, I hope the article will help you. PhpMyAdmin is a WEB version management tool. Many of our sites use phpMyAdmin for development and testing environments. Sometimes we often need to enter the login password during local testing, this is very inconvenient, so how can we configure the local phpMyAdmin interface to log on without a password? Let's take a look at phpMyAdmin's failure to allow empty password login configuration methods, I hope the article will help you.
Script ec (2); script
First, open config. inc. php in phpmyadmin. If the root directory does not contain config. inc. php, we will find the file librariesconfig. default. php, because the file paths may be different in different versions.
2) Open the configuration file you found, and replace the following:
The Code is as follows: |
|
$ Cfg ['servers'] [$ I] ['allownopassword'] = false; Changed: $ Cfg ['servers'] [$ I] ['allownopassword'] = true;
|
Now we can use a blank password to log on. Of course, if you set a logon password for mysql, you still need to enter the password, then we can set the mysql user password to be empty, so that we can achieve real empty password login, of course, the server does not recommend empty password login Oh.