加入收藏 | 设为首页 | 会员中心 | 我要投稿 衡阳站长网 (https://www.0734zz.cn/)- 数据集成、设备管理、备份、数据加密、智能搜索!
当前位置: 首页 > 站长学院 > MySql教程 > 正文

phpMyAdmin配置文件中的密文 blowfish_secret 过于短

发布时间:2022-06-26 20:03:29 所属栏目:MySql教程 来源:互联网
导读:在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] = abcde
  在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位即可。

(编辑:衡阳站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读