遇到的问题¶
The secret passphrase in configuration (blowfish_secret) is not the correct length. It should be 32 bytes long.¶
或者:The configuration file needs a valid key for cookie encryption. A temporary key was automatically generated for you. Please refer to the documentation.
# Open /etc/phpMyAdmin/config.inc.php file and look for following code (around line 14):
# 修改config.inc.php文件
$cfg['blowfish_secret'] = '84657495123845128452'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
# Replace the secret with a random string that is at least 32 characters long:
# 配置文件中的密文(blowfish_secret)太短
$cfg['blowfish_secret'] = 'X5SS+radU0TOwId7X$cH!eb8zwnPDoDr'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
# Log off and log back on again to phpMyAdmin and the warning should be gone.
# 随机32位字符串,退出重新登陆