Home  >  Article  >  Database  >  PhpMyAdmin 配置文件现在需要一个短语密码的解决方法_MySQL

PhpMyAdmin 配置文件现在需要一个短语密码的解决方法_MySQL

WBOY
WBOYOriginal
2016-07-06 13:32:441258browse

新版本的PhpMyAdmin 增强了安全性,需要在配置文件设置一个短语密码。否则进入之后会有“配置文件现在需要一个短语密码。”的红色警叹提示。

解决方法:

1、将 phpMyAdmin/libraries/config.default.php中的

$cfg['blowfish_secret'] = ''; 改成 $cfg['blowfish_secret'] = '123456'; (注:其中的'123456′为随意的字符)

2、在phpMyAdmin目录中,打开config.sample.inc.php,18行

$cfg['blowfish_secret'] = ''; 改成 $cfg['blowfish_secret'] = '123456'; (注:其中的'123456′为随意的字符)

这个密码用于Cookies的加密,以免多个PhpMyAdmin或者和其他程序共用Cookies时搞混。

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

以上就是PhpMyAdmin 配置文件现在需要一个短语密码解决方法的全部内容,希望能给大家一个参考,也希望大家多多支持。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn