phpMyAdmin配置文件中的密文(blowfish_secret)太短

在phpMyAdmin页面上报错配置文件中的密文(blowfish_secret)太短

查看下配置文件more config.inc.php

 
  1. /**
  2.  * This is needed for cookie based authentication to encrypt password in
  3.  * cookie. Needs to be 32 chars long.
  4.  */
  5. $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/,如需转载,请注明出处,否则将追究法律责任。

猜你喜欢

转载自www.cnblogs.com/wxwgk/p/13374925.html