zoukankan      html  css  js  c++  java
  • phpMyAdmin 配置文件现在需要一个短语密码的

    登陆phpMyAdmin时,在页面下方提示:“配置文件现在需要一个短语密码。” 这表示需要在配置文件设置一个Cookies的密码,防止Cookies混乱。

    /**
    * The 'cookie' auth_type uses AES 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 AES. The maximum length seems to be 46
    * characters.
    *
    * @global string $cfg['blowfish_secret']
    */
    $cfg['blowfish_secret'] = '';

    解决方法分成以下两步:

     

    第一步:将phpMyAdmin/libraries/config.default.php中的

     $cfg['blowfish_secret'] = ''; 

    改成

     $cfg['blowfish_secret'] = '123456'; 

    其中的’123456′为随意的字符。

     

    第二步:在phpMyAdmin目录中,打开config.sample.inc.php,18行

     $cfg['blowfish_secret'] = ''; 

    改成

     $cfg['blowfish_secret'] = '123456'; 

    其中的’123456′为随意的字符。

     

    做好以上两步,刷新网页,OK,“配置文件现在需要一个短语密码。”的提示不存在了!

  • 相关阅读:
    thinkphp 视图定义
    ThinkPHP支持模型的分层
    thinkphp 虚拟模型
    thinkphp 参数绑定
    thinkphp 自动完成
    thinkphp 自动验证
    thinkphp 子查询
    thinkphp 动态查询
    ThinkPHP sql查询
    thinkphp 统计查询
  • 原文地址:https://www.cnblogs.com/make217/p/5322442.html
Copyright © 2011-2022 走看看