Pages

Friday, April 12, 2013

Phpmyadmin error : “The Configuration File Now Needs A Secret Passphrase (blowfish_secret)”

After installing phpmyadmin on one of my client server (Centos), I had to face above error after login into phpmyadmin at the bottom of the phpmyadmin page.

Error :
====================================================

”The Configuration File Now Needs A Secret Passphrase (blowfish_secret)”

====================================================

I tried this Soution which resolved the issue :

Solution :
Copy sample Configuration File To Real Configuration File:
# cp -p config.sample.inc.php config.inc.php

If you have already copied the file just locate it and go to the file :
#vi config.inc.php

Find the below line :

===========================================================

$cfg['blowfish_secret']  ’ ‘; /* YOU MUST FILL IN THIS FOR COOKIE AUTH!  */

===========================================================

Probably on the line number 16 or 18.
You can see its not set, so you need to update  the Blowfish Secret here.
After doing this, Try to visit your phpmyadmin url again and you will see the error is disappeared.

Njoy!!!

No comments:

Post a Comment