PhpMyAdmin: secret passphrase?
I am using MAMP and every time I log into phpMyAdmin I get the following error / warning message:
the config file now needs a secret passphrase (blowfish_secret).
I haven't messed up with any of these parameters yet. Can someone please clarify this error.
Here is the information on my db server:
Server: Localhost over UNIX socket Server type: MySQL server version: 5.5.34 - Distribution source Protocol version: 10
source to share
It might help, https://wiki.archlinux.org/index.php/PhpMyAdmin#Add_blowfish_secret_passphrase
If you see the following error message at the bottom of the page when you first log into / phpmyadmin (using the preconfigured MySQL username and password):
ERROR: The configuration file now needs a secret passphrase (blowfish_secret)
You need to add blowfish password to your phpMyAdmin config file. Edit /etc/webapps/phpmyadmin/config.inc.php and insert a random "password" for the inflatable fish in the line
$cfg['blowfish_secret'] = ; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
It should now look something like this:
$cfg['blowfish_secret'] = 'qtdRoGmbc9{8IZr323xYcSN]0s)r$9b_JUnb{~Xz'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
This all assumes that you have already created the config file correctly,
cp config.sample.inc.php config.inc.php
source to share
The config file now needs a secret passphrase (blowfish_secret). You will see this error after every phpmyadmin installation. To fix this, just open config.inc.php (or rename config.sample.inc.php to config.inc.php if you haven't already) and change this line
$ cfg ['blowfish_secret'] = ''; / * YOU MUST COMPLETE THIS FOR COOKIE AUTH! */ in
$ cfg ['blowfish_secret'] = 'y [/ qlva {kNheGD5hfzFLrNoS-ZX \ zQ /';
To create a new secret, just click on this https://phpsolved.com/phpmyadmin-blowfish-secret-generator/?g=5d94be5065c70
source to share