The phpmyadmin configuration file now requires two top-secret short passwords (blowfish_secret. There are two solutions: (The second method is recommended) 1. configure config under phpmyadmin. inc. php changes the cookie to an http copy code: viusr?phpmyadminconfig. inc. php [.. there are two solutions: (The second method is recommended)
1. configure config. inc. php under phpmyadmin to change the cookie to http
The code is as follows:
Vi/usr/share/phpmyadmin/config. inc. php
[...]
/* Authentication type */
$ Cfg ['servers'] [$ I] ['auth _ type'] = 'cooker ';
[...]
Open the browser and enter the management address. the logon window is displayed. enter the user name and password and the password.
However, I am not used to it, and it will pop up again when I select to log out on the management interface, making people feel like logging out with a password.
2. compare the configuration of phpmyadmin in ubuntu. there is such a configuration in config. inc. php in ubuntu.
The code is as follows:
// Load secret generated on postinst
Include ('/var/lib/phpmyadmin/blowfish_secret.inc.php ');
Check/var/lib/phpmyadmin/blowfish_secret.inc.php. there is only one sentence.
The code is as follows:
$ Cfg ['blowfish _ secret'] = 'w1hm7axcx5aqvutjvoygdepy ';
The "$ cfg ['blowfish _ secret'] =" statement in phpmyadmin installed in CentOS is in config. inc. php.
The code is as follows:
Vim/usr/share/phpmyadmin/config. inc. php
Find
The code is as follows:
$ Cfg ['blowfish _ secret'] = '';/* you must fill in this for cookie auth! */
Add any character after =
The code is as follows:
$ Cfg ['blowfish _ secret '] = 'poo';/* you must fill in this for cookie auth! */
Pooy is a random character.
Restart httpd and then open the management page.
Still look at this habit, but then enter the root and password, the system prompts me root @ localhost password error: error 'Access denied for user 'root' @ 'localhost' (using password: NO), it is always unable to enter, so the browser's cookie is cleared and then enters the normal
Configure (the second type is recommended) 1. configure the config under phpmyadmin. inc. php changes cookie to http code as follows: vi/usr/share/phpmyadmin/config. inc. php [.....