Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. in D:\QLVBDH_TICHHOP\Apache24\htdocs\QLVBDH_XA\qlvbdh_ttdakdoa\library\Zend\Db\Adapter\Pdo\Abstract.php:143 Stack trace: #0 D:\QLVBDH_TICHHOP\Apache24\htdocs\QLVBDH_XA\qlvbdh_ttdakdoa\library\Zend\Db\Adapter\Abstract.php(414): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 D:\QLVBDH_TICHHOP\Apache24\htdocs\QLVBDH_XA\qlvbdh_ttdakdoa\library\Zend\Db\Adapter\Pdo\Abstract.php(220): Zend_Db_Adapter_Abstract->query('select YEAR fro...', Array) #2 D:\QLVBDH_TICHHOP\Apache24\htdocs\QLVBDH_XA\qlvbdh_ttdakdoa\library\Common\common.php(1564): Zend_Db_Adapter_Pdo_Abstract->query('select YEAR fro...') #3 D:\QLVBDH_TICHHOP\Apache24\htdocs\QLVBDH_XA\qlvbdh_ttdakdoa\application\motcua\models\common.php(161): QLVBDHCommon::getYear() #4 D:\QLVBDH_TICHHOP\Apache24\htdocs\QLVBDH_XA\qlvbdh_ttdakdoa\application\motcua\models\TiepnhanhosomotcuaModel.php(831): MotcuaQLVBDHCommon::Table('MOTCUA_HOSO') #5 D:\QLVBDH_TICHHOP\Apache24\htdocs\QLVBDH_XA\qlvbdh_ttdakdoa\application\tivi\controllers\tiviController.php(111): TiepnhanhosomotcuaModel::CountHosoByLinhVucMCMONTH(1, '2023-02-01', '2023-02-31') #6 D:\QLVBDH_TICHHOP\Apache24\htdocs\QLVBDH_XA\qlvbdh_ttdakdoa\library\Zend\Controller\Action.php(504): Tivi_tiviController->reportmcAction() #7 D:\QLVBDH_TICHHOP\Apache24\htdocs\QLVBDH_XA\qlvbdh_ttdakdoa\library\Zend\Controller\Dispatcher\Standard.php(285): Zend_Controller_Action->dispatch('reportmcAction') #8 D:\QLVBDH_TICHHOP\Apache24\htdocs\QLVBDH_XA\qlvbdh_ttdakdoa\library\Zend\Controller\Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #9 D:\QLVBDH_TICHHOP\Apache24\htdocs\QLVBDH_XA\qlvbdh_ttdakdoa\html\index.php(97): Zend_Controller_Front->dispatch() #10 {main}