Hi Ekene, in the openemr forlder go to >>> sites >>> default >>> sqlconf.php file
there you will see the database name, user name, passwrd, those have to be correct.
========
<?php // OpenEMR // MySQL Config global $disable_utf8_flag; $disable_utf8_flag = false; $host = 'localhost'; $port = '3306'; **$login = 'root';** **$pass = '';** **$dbase = 'openemr';** $db_encoding = 'utf8mb4'; $sqlconf = array(); global $sqlconf; $sqlconf["host"]= $host; $sqlconf["port"] = $port; $sqlconf["login"] = $login; $sqlconf["pass"] = $pass; $sqlconf["dbase"] = $dbase; $sqlconf["db_encoding"] = $db_encoding; ////////////////////////// ////////////////////////// ////////////////////////// //////DO NOT TOUCH THIS/// $config = 1; ///////////// ////////////////////////// ////////////////////////// ////////////////////////// ?>===========
something like this you should see.