Warning (2): PDO::__construct(): [2002] No connection could be made because the target machine actively refused it.
 (trying to connect via tcp://172.16.20.71:3306) [CORE\Cake\Model\Datasource\Database\Mysql.php, line 158]
Aadhaar Seeding Verification: Errors

Missing Database Connection

Error: A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.

Notice: If you want to customize this error message, create app\View\Errors\missing_connection.ctp.

Stack Trace

  • CORE\Cake\Model\Datasource\DboSource.php line 262Mysql->connect()
  • CORE\Cake\Model\ConnectionManager.php line 107DboSource->__construct(array)
  • CORE\Cake\Model\Model.php line 3221ConnectionManager::getDataSource(string)
  • CORE\Cake\Model\Model.php line 1108Model->setDataSource(string)
  • CORE\Cake\Model\Model.php line 3243Model->setSource(string)
  • CORE\Cake\Model\Model.php line 2696Model->getDataSource()
  • APP\Controller\AppController.php line 377Model->find(string, array)
  • APP\Controller\UsersController.php line 28AppController->getBanks()
  • [internal function]UsersController->verifier_register()
  • CORE\Cake\Controller\Controller.php line 486ReflectionMethod->invokeArgs(UsersController, array)
  • CORE\Cake\Routing\Dispatcher.php line 187Controller->invokeAction(CakeRequest)
  • CORE\Cake\Routing\Dispatcher.php line 162Dispatcher->_invoke(UsersController, CakeRequest, CakeResponse)
  • APP\webroot\index.php line 110Dispatcher->dispatch(CakeRequest, CakeResponse)