标题:phpMyAdmin配置文件中的密文 blowfish_secret 过于短
作者:网友
日期:2022-07-19 11:53:49
内容:
在phpMyAdmin页面上报错配置文件中的密文(blowfish_secret)太短
查看下配置文件more config.inc.php
/**
* This is needed for cookie based authentication to encrypt password in
* cookie. Needs to be 32 chars long.
*/
$cfg['blowfish_secret'] = 'abcdefghijklmnopqrstuvwxyzabcdefgh'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */
因为我把$cfg['Servers'][$i]['auth_type'] 参数从config改为了cookie,我觉得这样更方便,但是上面的参数要求cookie模式必须加长参数的值,默认是"xampp",显然不够32位,随便设置一个够32位即可。
(编辑:错新网)