Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. in C:\xampp\htdocs\supervision\Kotchasan\Database\PdoMysqlDriver.php:59 Stack trace: #0 C:\xampp\htdocs\supervision\Kotchasan\Database\PdoMysqlDriver.php(59): PDO->__construct('mysql:host=loca...', 'Kotchasan', 'Kotchasan', Array) #1 C:\xampp\htdocs\supervision\Kotchasan\Database.php(92): Kotchasan\Database\PdoMysqlDriver->connect(Object(stdClass)) #2 C:\xampp\htdocs\supervision\Kotchasan\Database\Db.php(38): Kotchasan\Database::create('mysql') #3 C:\xampp\htdocs\supervision\Kotchasan\Model.php(36): Kotchasan\Database\Db->__construct('mysql') #4 C:\xampp\htdocs\supervision\Kotchasan\Model.php(68): Kotchasan\Model->__construct() #5 C:\xampp\htdocs\supervision\modules\index\models\school.php(37): Kotchasan\Model::createQuery() #6 C:\xampp\htdocs\supervision\modules\index\views\summary.php(74): Index\School\Model::create(0) #7 C:\xampp\htdocs\supervision\modules\index\controllers\iframe.php in C:\xampp\htdocs\supervision\Kotchasan\Database\PdoMysqlDriver.php on line 61