PHP mysqli::real_connect(): (HY000/1045): Access denied for user ‘phpmyadmin’@’localhost’ (using password: YES) November 10, 2022 Pramod T P Leave a comment Add these lines to the file /etc/phpmyadmin/config.inc.php [ubuntu] $cfg[‘Servers’][$i][‘controluser’] = ‘root’; $cfg[‘Servers’][$i][‘controlpass’] = ”;