Whoops, looks like something went wrong.

1/1 PDOException in Connector.php line 55: SQLSTATE[HY000] [2002] Connection refused

  1. in Connector.php line 55
  2. at PDO->__construct('mysql:host=localhost;dbname=cpvidhya_vidhyaa', 'cpvidhya_vidhyaa', 'ctyS)bbeeTGL', array('0', '2', '0', false, false)) in Connector.php line 55
  3. at Connector->createConnection('mysql:host=localhost;dbname=cpvidhya_vidhyaa', array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'cpvidhya_vidhyaa', 'username' => 'cpvidhya_vidhyaa', 'password' => 'ctyS)bbeeTGL', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql'), array('0', '2', '0', false, false)) in MySqlConnector.php line 22
  4. at MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'cpvidhya_vidhyaa', 'username' => 'cpvidhya_vidhyaa', 'password' => 'ctyS)bbeeTGL', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 60
  5. at ConnectionFactory->createSingleConnection(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'cpvidhya_vidhyaa', 'username' => 'cpvidhya_vidhyaa', 'password' => 'ctyS)bbeeTGL', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 49
  6. at ConnectionFactory->make(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'cpvidhya_vidhyaa', 'username' => 'cpvidhya_vidhyaa', 'password' => 'ctyS)bbeeTGL', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql'), 'mysql') in DatabaseManager.php line 175
  7. at DatabaseManager->makeConnection('mysql') in DatabaseManager.php line 142
  8. at DatabaseManager->refreshPdoConnections('mysql') in DatabaseManager.php line 131
  9. at DatabaseManager->reconnect('mysql') in DatabaseManager.php line 196
  10. at DatabaseManager->Illuminate\Database\{closure}(object(MySqlConnection))
  11. at call_user_func(object(Closure), object(MySqlConnection)) in Connection.php line 701
  12. at Connection->reconnect() in Connection.php line 673
  13. at Connection->tryAgainIfCausedByLostConnection(object(QueryException), object(Expression), array(), object(Closure)) in Connection.php line 614
  14. at Connection->run(object(Expression), array(), object(Closure)) in Connection.php line 324
  15. at Connection->select(object(Expression))
  16. at call_user_func_array(array(object(MySqlConnection), 'select'), array(object(Expression))) in DatabaseManager.php line 296
  17. at DatabaseManager->__call('select', array(object(Expression))) in Facade.php line 210
  18. at Facade::__callStatic('select', array(object(Expression))) in Frontend.php line 7837
  19. at Frontend->chache_query(' select distinct o.name, o.slug, o.id, o.description, o.photo from vidhyaa_options o inner join vidhyaa_relation r on (r.id=o.id and r.parentType='1' and r.parent='4248') where r.type = '10' and o.type='10' and o.deleted_at is null and o.status='active' order by o.name asc ') in Frontend.php line 4536
  20. at Frontend->get_options(array('type' => '10', 'parentType' => '1', 'parent' => '4248'))
  21. at call_user_func_array(array(object(Frontend), 'get_options'), array(array('type' => '10', 'parentType' => '1', 'parent' => '4248'))) in Model.php line 3473
  22. at Model::__callStatic('get_options', array(array('type' => '10', 'parentType' => '1', 'parent' => '4248'))) in CollegeController.php line 1188
  23. at CollegeController->getCourse('alpine-group-of-institutes-dehradun-4248', 'msc-mathematics-809')
  24. at call_user_func_array(array(object(CollegeController), 'getCourse'), array('v1' => 'alpine-group-of-institutes-dehradun-4248', 'v2' => 'msc-mathematics-809')) in Controller.php line 256
  25. at Controller->callAction('getCourse', array('v1' => 'alpine-group-of-institutes-dehradun-4248', 'v2' => 'msc-mathematics-809')) in ControllerDispatcher.php line 164
  26. at ControllerDispatcher->call(object(CollegeController), object(Route), 'getCourse') in ControllerDispatcher.php line 112
  27. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  28. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  29. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  30. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  31. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 114
  32. at ControllerDispatcher->callWithinStack(object(CollegeController), object(Route), object(Request), 'getCourse') in ControllerDispatcher.php line 68
  33. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Frontend\CollegeController', 'getCourse') in Route.php line 203
  34. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  35. at Route->run(object(Request)) in Router.php line 704
  36. at Router->Illuminate\Routing\{closure}(object(Request))
  37. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  38. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  39. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  40. at Pipeline->then(object(Closure)) in Router.php line 706
  41. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 670
  42. at Router->dispatchToRoute(object(Request)) in Router.php line 631
  43. at Router->dispatch(object(Request)) in Kernel.php line 236
  44. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  45. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  46. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AfterMiddleware.php line 18
  47. at AfterMiddleware->handle(object(Request), object(Closure))
  48. at call_user_func_array(array(object(AfterMiddleware), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  49. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 50
  50. at VerifyCsrfToken->handle(object(Request), object(Closure))
  51. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  52. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  53. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  54. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  55. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
  56. at StartSession->handle(object(Request), object(Closure))
  57. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  58. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  59. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  60. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  61. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
  62. at EncryptCookies->handle(object(Request), object(Closure))
  63. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  64. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
  65. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  66. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  67. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  68. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  69. at Pipeline->then(object(Closure)) in Kernel.php line 122
  70. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  71. at Kernel->handle(object(Request)) in index.php line 53
  72. at require_once('/home/cpvidhyaa/public_html/new/public/index.php') in index.php line 21