How to solve the problem that phpmyadmin configuration files now need top secret short passwords
This article will explain in detail how to solve the problem that phpmyadmin configuration file now needs top secret short password. Xiaobian thinks it is quite practical, so share it with you as a reference. I hope you can gain something after reading this article.
There are two solutions: (The second one is recommended)
1. Configure config.inc.php under phpmyadmin to change cookies to http
The copy code is as follows:
vi /usr/share/phpmyadmin/config.inc.php
[...]
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
[...]
Then open the browser and enter the management address. At this time, a login window will pop up. Enter the user name and password.
However, I am not used to it, and after entering the management interface, I will pop up again when I choose to log out, which makes people feel that I have to log out like a password.
2. Compare the configuration of ubuntu phpmyadmin, there is such a configuration in ubuntu config.inc.php
The copy code is as follows:
// Load secret generated on postinst
include('/var/lib/phpmyadmin/blowfish_secret.inc.php');
/var/lib/phpmyadmin/blowfish_secret.inc.php, just one sentence
The copy code is as follows: