phpMyAdmin中的河豚秘密是什么?

2022-08-30 15:18:23

关于设置config.inc.php,官方phpMyAdmin文档说

$cfg['blowfish_secret'] = 'theExampleWrites16ValuesHere';  // use here a value of your choice

什么是河豚的秘密?如何生成或选择值?


答案 1

只需使用您喜欢的任何随机字符串和/或数字即可。这是一个对于您的实例和使用 phpMyAdmin 的唯一值。


答案 2

转到 /var/lib/phpmyadmin/blowfish_secret.inc.php并添加一些长度为 32 的 caracters,如下所示:

$cfg['blow_secret'] = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';

保存文件并刷新 phpMyAdmin。


推荐