I'm new to both ISPConfig 3 & phpMyAdmin. I want deny root user for phpMyAdmin. To do so I have added following line to /etc/phpmyadmin/config.inc.php Code: $cfg['Servers'][$i]['AllowRoot'] = FALSE; But I'm still able to login as root user. Please someone tell me what I'm missing. Thanks in advance.
I am using Debian, what distro do you use? I don't know if conf files of pma are or not case sensitive, but I have it working for me with this line in /etc/phpmyadmin/config.inc.php $cfg['Servers'][$i]['AllowRoot'] = false; Modify it and next try to reload/restart apache2.
Make sure that you closed your browser one after you edited that config. Othewise the old phpmyadmin configuration might be still cached in the session. Beside that, make sure that you added that line at the correct place in the config file, so that it applies to the config instance that connects to localhost.
Allow root access to phpmyadmin from local networks only I added these to my phpmyadmin config: // Allow root access from local networks only $cfg['Servers'][$i]['AllowDeny']['order'] = 'deny,allow'; $cfg['Servers'][$i]['AllowDeny']['rules'] = array( 'deny root from all', 'allow root from localhost', 'allow root from 192.168.1.0/24', ); Change the red to suit your local network