The configuration file now needs a secret passphrase (blowfish_secret)------如何解決
2016-03-11 15:16:54
13423
在LAMP下安裝phpmyadmin,安裝完畢后在瀏覽器中輸入127.0.0.1、phpmyadmin訪問phpmyadmin,頁面提示錯(cuò)誤信息為:
The configuration file now needs a
secret passphrase (blowfish_secret);
如圖:
錯(cuò)誤原因:新版本的phpmyadmin對(duì)COOKIE認(rèn)證采用了blowfish加密算法,
解決措施:/phpmyadmin/config.inc.php文件中的$cfg[blowfish_secret] = ;賦一個(gè)字符串值就行了
如:$cfg[blowfish_secret] = jdcdFK6xKFV921565FVF55;
(在終端輸入find / -name phpmyadmin就可以查詢到phpmyadmin的位置)
重啟httpd,myaqld服務(wù)即可
#service httpd restart
#service mysqld restart