phpMyAdmin 配置文件现在需要一个短语密码
上传安装phpMyAdmin后,出现”配置文件现在需要一个短语密码“的错误提示,上网查找,解决方法如下
修改phpmyadmin/libraries/config.default.php中的$cfg[‘blowfish_secret’]的值为任意字符串
/**
* The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
* at least one server configuration uses 'cookie' auth_type, enter here a
* pass phrase that will be used by blowfish. The maximum length seems to be 46
* characters.
*
* @global string $cfg['blowfish_secret']
*/
$cfg['blowfish_secret'] = 'yourpassword';