What is the secret of blowfish in phpMyAdmin?

Configuring config.inc.php in phpMyAdmin docs says

$cfg['blowfish_secret'] = 'theExampleWrites16ValuesHere'; // use here a value of your choice 

What is a flushing secret? How do I create or select a value?

+19
php phpmyadmin blowfish
source share
4 answers

Just use any random string of characters and / or numbers that you like. This is a value that will be unique to your instance and use phpMyAdmin.

+18
source share

go to / var / lib / phpmyadmin / blowfish _secret.inc.php and add some 32 characters in length:

 $cfg['blow_secret'] = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; 

save the file and update phpMyAdmin.

+2
source share

Go to the phpMyadmin directory and open the configuration file → /phpMyadmin/config.inc.php

Search → $ cfg ['blowfish_secret'] = ''; / YOU SHOULD FILL IT FOR THE COOKIE CAR! /

Enter a string of at least 32 characters. {You can enable Number, Characters & SpecialCharacters} Save and reload the page (//yourdomainname.*/phpmyadmin) and log in again. This should fix the error.

Link: https://wiki.archlinux.org/index.php/PhpMyAdmin#Add_blowfish_secret_passphrase

Thanks and Regards

+1
source share

in /usr/share/phpmyadmin/libraries/vendor_config.php config dir variable can either be empty or skip the trailing slash, change it to:

 define('CONFIG_DIR', '/etc/phpmyadmin/'); 

Permission for this temporary directory must be set correctly in /usr/share/phpmyadmin/libraries/vendor_config.php. This solved it for me. define ('TEMP_DIR', '/ var / lib / phpmyadmin / tmp /');

Also, if you missed the Users tab in PhpMyAdmin, this is caused due to insufficient permissions. Run GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' WITH GRANT OPTION; from the mysql console (your own admin name) when logging in with root privileges.

0
source share

All Articles