phpMyAdmin:秘密密码?

Abu*_*urd 5 php mysql phpmyadmin

我正在使用MAMP,每次登录phpMyAdmin时,都会收到以下错误/警告消息:

配置文件现在需要一个秘密密码(blowfish_secret).

我以前没有搞过任何这些设置.有人可以澄清这个错误.

这是我的数据库服务器上的信息:

服务器:通过UNIX套接字的Localhost服务器类型:MySQL服务器版本:5.5.34 - 源分发协议版本:10

Gus*_*cia 8

配置文件现在需要一个秘密密码(blowfish_secret)。

\n

每次安装 phpmyadmin 后,您\xe2\x80\x99 都会看到此错误。

\n

要解决此问题,只需打开config.inc.php(或重命名config.sample.inc.phpconfig.inc.php,如果您还没有这样做的话)并更改此行

\n
$cfg[\'blowfish_secret\'] = \'\'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */\n
Run Code Online (Sandbox Code Playgroud)\n

\n
$cfg[\'blowfish_secret\'] = \'y[/qlva{kNheGD5hfzFLrNoS-ZX\\zQ/\';\n
Run Code Online (Sandbox Code Playgroud)\n

要生成新的河豚秘密,只需点击此https://phpsolved.com/phpmyadmin-blowfish-secret-generator/?g=5d94be5065c70

\n


Pay*_*jad 6

这可能会有所帮助, https://wiki.archlinux.org/index.php/PhpMyAdmin#Add_blowfish_secret_passphrase

如果您在第一次登录 /phpmyadmin(使用先前设置的 MySQL 用户名和密码)时在页面底部看到以下错误消息:

ERROR: The configuration file now needs a secret passphrase (blowfish_secret)  
Run Code Online (Sandbox Code Playgroud)

您需要在 phpMyAdmin 的配置文件中添加一个河豚密码。编辑 /etc/webapps/phpmyadmin/config.inc.php 并在行中插入一个随机的河豚“密码”

$cfg['blowfish_secret'] = ; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */  
Run Code Online (Sandbox Code Playgroud)

它现在应该是这样的:

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

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

cp config.sample.inc.php config.inc.php
Run Code Online (Sandbox Code Playgroud)


Axe*_*hor 5

实际上,这只是一个"秘密字符串" "my personal secret".你看这里.