Page 1 of 1

phpmyadmin

Posted: Tue Mar 21, 2006 4:52 pm
by shiznatix
Hey

I just installed phpmyadmin with success (super gasp!). Now when I goto the dir of its install I get

Error!
The configuration file now needs a secret passphrase (blowfish_secret).

now I looked at blowfish_secret file and it is
$cfg['blowfish_secret'] = '';

well that does not make any sence now does it?

What do I have to do to make this work? I googled this but did not come up with any answers.

Posted: Tue Mar 21, 2006 5:22 pm
by pickle
Not sure, but I'd guess put a password through blowfish, and store the result there. phpmyadmin will then blowfish the password you type in at the prompt and see if it's the same.

FYI - you can also set up phpmyadmin to use HTTP Basic authentication, and require the same username and password as your database - so you don't need to store another password elsewhere.

Posted: Tue Mar 21, 2006 5:59 pm
by RobertGonzalez
Blowfish is a hashing algorithm for your user password when using 'Cookie' based authentication. To use it, set the value to something.
phpMyAdmins config.inc.php wrote: /**
* The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
* at least one server configuration uses 'cookie' auth_type, enter here a
* passphrase that will be used by blowfish. The maximum length seems to be 46
* characters.
*/

Code: Select all

<?php
$cfg['blowfish_secret'] = 'somethingtocrosshashwithshorterthan46chars';
?>
'Config' lets you open PMA using a predefined, authenticated user configuration (a valid MySQL username and password), 'Cookie' uses a login form to get in (this is where the blowfish is used).

Posted: Tue Mar 21, 2006 7:16 pm
by shiznatix
Super sweet, I changed it to config and everything worked just fine! God I love Linux...