How to fix Error “The configuration file now needs a secret passphrase (blowfish_secret).”
You’ll see this error after every installation of phpmyadmin in Ubuntu 16.04, Ubuntu 18.04 and Ubuntu 20.04. This error message at the bottom of the page when you first log in to /phpmyadmin (using a previously setup MySQL username and password)
How to resolve secret passphrase (blowfish_secret) ?
To resolve this issue you have to do some changes in config.inc.php. Just open /etc/phpMyAdmin/config.inc.php file OR /var/www/html/phpMyAdmin/config.inc.php file (or rename config.sample.inc.php to config.inc.php if you haven’t done so yet ) and look for following code :-
$cfg[‘blowfish_secret’] = ”; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
Replace the secret passphrase with a given below string that is at least 32 characters long:
Hi All, My name is Vikash Ekka from India. I’m the founder and tech editor of https://www.vetechno.in. I have completed my Graduation in BCA. I love to write technical articles like Windows, Linux & MAC Tutorials, Tips, Tricks, How To fix, Tutorials About Ethical Hacking & Cyber Security Guide, and Software Review.
Currently, I have been working as an IT professional since 2018.