Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

gnabin01's avatar

Connection for controluser as defined in your configuration failed in PHPMyadmin.

I can login to phpmyadmin with predefined username and password. BU i am getting error "Connection for controluser as defined in your configuration failed." after login at the bottom of phpmyadmin in Ubuntu. How to solve this?

0 likes
1 reply
Braunson's avatar

Sounds like your config details in phpMyadmin/config.inc.php may be incorrect.

This can occurs if you have another MySQL instance installed and the username and the password that you use in this config are different. You have to change the username and the password in the above file to match.

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root'; // << Change this to your values
$cfg['Servers'][$i]['password'] = 'root';  // << Change this to your values
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';
1 like

Please or to participate in this conversation.