禁用 phpMyAdmin root 访问

Disable phpMyAdmin root access

我想在我的 phpmyadmin 版本 4.5.4.1deb2ubuntu2 中禁用 root 用户登录,我写了这个 config.inc.php:

/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['AllowRoot'] = false;

但是我可以连接到root。为什么?

我解决了升级 phpMyAdmin 的问题,问题很大。