本指南将介绍如何设置phpMyAdmin以使用基于cookie /会话的登录系统。
基于cookie的登录的优点是,你可以得到一个确切的mysql错误,为什么你不能登录(如果你不能登录)。
编辑:
/var/www/html/phpMyAdmin/config.inc.php
更改:
$cfg['blowfish_secret'] = '';
为:$cfg['blowfish_secret'] = 'anyrandomtextyouwant';
更改:$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
为:$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?
然后关闭所有浏览器并尝试再次连接。










