phpMyAdmin错误 – 配置文件现在需要一个秘密密码

前端之家收集整理的这篇文章主要介绍了phpMyAdmin错误 – 配置文件现在需要一个秘密密码前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
安装PHPmyadmin后,我不断收到错误配置文件现在需要一个秘密密码”.我已经设置了密码并且也遵循了 https://serverfault.com/questions/291490/phpmyadmin-not-allowing-users-to-log-on中提供的指令,但它似乎没有工作.我正在使用AMI并且还删除了所有者和权限.请帮忙.
这可能有所帮助,
https://wiki.archlinux.org/index.php/PhpMyAdmin#Add_blowfish_secret_passphrase

如果您在首次登录/ PHPmyadmin时看到页面底部出现以下错误消息(使用以前设置的MysqL用户名和密码):

ERROR: The configuration file now needs a secret passphrase (blowfish_secret)

您需要在PHPMyAdmin的配置文件添加一条blowfish密码.编辑/etc/webapps/PHPmyadmin/config.inc.PHP并在行中插入随机的河豚“密码”

$cfg['blowfish_secret'] = ; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

现在应该看起来像这样:

$cfg['blowfish_secret'] = 'qtdRoGmbc9{8IZr323xYcSN]0s)r$9b_JUnb{~Xz'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

这一切都假设您已经正确创建了配置文件,

cp config.sample.inc.PHP config.inc.PHP
原文链接:https://www.f2er.com/php/139793.html

猜你在找的PHP相关文章