#1045 Cannot log in to the MySQL server (PhpMyAdmin 2.4.8)

Submitted by Anonymous (not verified) on Mon, 12/05/2011 - 14:43

I have just installed new phpMyAdmin (version 3.4.8). There is no password for mysql root user. But I coudnt login and got this error:

#1045 Cannot log in to the MySQL server

Reason is: Missing blowfish string and config file.

The solution:

- change config.sample.inc.php to config.inc.php
- put some text for $cfg['blowfish_secret'] on line 17.

change

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

to

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

Add new comment