Uncaught exception 'MRBS\DBException' in D:\xampp\htdocs\mrbshs\web\lib\MRBS\DB.php at line 78
SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
SQL:
Params:
#0 D:\xampp\htdocs\mrbshs\web\lib\MRBS\DBFactory.php(16): MRBS\DB->__construct('localhost', 'root', '', 'mrbshs', false, 3306)
#1 D:\xampp\htdocs\mrbshs\web\dbsys.inc(36): MRBS\DBFactory::create('mysql', 'localhost', 'root', '', 'mrbshs', false, NULL)
#2 D:\xampp\htdocs\mrbshs\web\dbsys.inc(49): MRBS\db()
#3 D:\xampp\htdocs\mrbshs\web\init.inc(93): MRBS\db_schema_version()
#4 D:\xampp\htdocs\mrbshs\web\init.inc(158): MRBS\init_sessions()
#5 D:\xampp\htdocs\mrbshs\web\defaultincludes.inc(28): require_once('D:\\xampp\\htdocs...')
#6 D:\xampp\htdocs\mrbshs\web\index.php(8): require('D:\\xampp\\htdocs...')
#7 {main}

MRBS GET: Array
(
)
MRBS POST: Array
(
)


Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it in D:\xampp\htdocs\mrbshs\web\lib\MRBS\DB.php:54 Stack trace: #0 D:\xampp\htdocs\mrbshs\web\lib\MRBS\DB.php(54): PDO->__construct('mysql:host=loca...', 'root', '', Array) #1 D:\xampp\htdocs\mrbshs\web\lib\MRBS\DBFactory.php(16): MRBS\DB->__construct('localhost', 'root', '', 'mrbshs', false, 3306) #2 D:\xampp\htdocs\mrbshs\web\dbsys.inc(36): MRBS\DBFactory::create('mysql', 'localhost', 'root', '', 'mrbshs', false, NULL) #3 D:\xampp\htdocs\mrbshs\web\functions.inc(1087): MRBS\db() #4 D:\xampp\htdocs\mrbshs\web\functions.inc(542): MRBS\get_default_area() #5 D:\xampp\htdocs\mrbshs\web\functions.inc(493): MRBS\print_header('day', NULL, '2022', '05', '16', NULL, NULL, true) #6 D:\xampp\htdocs\mrbshs\web\functions_error.inc(220): MRBS\print_simple_header() #7 D:\xampp\htdocs\mrbshs\web\functions_error.inc(210): MRBS\fatal_error('Fatal error: un...') #8 [internal function]: MRBS\exception_handler(Object(MRBS\DBException)) #9 {main} Next MRBS\DBException: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it SQL: Params: in D:\xampp\htdocs\mrbshs\web\lib\MRBS\DB.php:78 Stack trace: #0 D:\xampp\htdocs\mrbshs\web\lib\MRBS\DBFactory.php(16): MRBS\DB->__construct('localhost', 'root', '', 'mrbshs', false, 3306) #1 D:\xampp\htdocs\mrbshs\web\dbsys.inc(36): MRBS\DBFactory::create('mysql', 'localhost', 'root', '', 'mrbshs', false, NULL) #2 D:\xampp\htdocs\mrbshs\web\functions.inc(1087): MRBS\db() #3 D:\xampp\htdocs\mrbshs\web\functions.inc(542): MRBS\get_default_area() #4 D:\xampp\htdocs\mrbshs\web\functions.inc(493): MRBS\print_header('day', NULL, '2022', '05', '16', NULL, NULL, true) #5 D:\xampp\htdocs\mrbshs\web\functions_error.inc(220): MRBS\print_simple_header() #6 D:\xampp\htdocs\mrbshs\web\functions_error.inc(210): MRBS\fatal_error('Fatal error: un...') #7 [internal function]: MRBS\exception_handler(Object(MRBS\DBException)) #8 {main} thrown in D:\xampp\htdocs\mrbshs\web\lib\MRBS\DB.php on line 78