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