Connection failed: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
Fatal error: Uncaught Error: Call to a member function prepare() on null in E:\Programs\xamp\htdocs\live\store\config\functions.php:3363
Stack trace:
#0 E:\Programs\xamp\htdocs\live\store\config\functions.php(35): fetchUserName('1566')
#1 E:\Programs\xamp\htdocs\live\store\short-term-loan.php(12): require_once('E:\\Programs\\xam...')
#2 {main}
thrown in E:\Programs\xamp\htdocs\live\store\config\functions.php on line 3363