Warning: mysqli::mysqli(): (HY000/2002): No connection could be made because the target machine actively refused it. in C:\php\xampp\htdocs\myphamus\system\database\mysqli.php on line 6

Fatal error: Uncaught exception 'ErrorException' with message 'Error: Could not make a database link (2002) No connection could be made because the target machine actively refused it. ' in C:\php\xampp\htdocs\myphamus\system\database\mysqli.php:9 Stack trace: #0 C:\php\xampp\htdocs\myphamus\system\library\db.php(13): DBMySQLi->__construct('localhost', 'root', '', 'myphamus') #1 C:\php\xampp\htdocs\myphamus\index.php(42): DB->__construct('mysqli', 'localhost', 'root', '', 'myphamus') #2 {main} thrown in C:\php\xampp\htdocs\myphamus\system\database\mysqli.php on line 9