How to Disable root Login in phpMyAdmin ?

In this guide we will show you how to restrict root login through phpMyAdmin.For this you have to edit phpMyAdmin configuration file and update following parameters:

cd /usr/share/phpmyadmin
# nano

$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['AllowRoot'] = FALSE;

If there is no file available, You can create it by copying file at same location.

# cp