在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位即可。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/20893244/viewspace-2151435/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/20893244/viewspace-2151435/
本文介绍了phpMyAdmin中关于配置文件moreconfig.inc.php的具体设置,特别是针对使用cookie认证模式时,如何正确设置$cfg['blowfish_secret']参数以确保安全性。
3125

被折叠的 条评论
为什么被折叠?



