直接修改phpmyadmin的config.inc.php,把
$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)?
改为
$cfg['Servers'][$i]['auth_type']     = 'http';    // Authentication method (config, http or cookie based)?就可以启用phpmyadmin的HTTP认证了.