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 vc.*, cf.fees as fees from vidhyaa_college c inner join vidhyaa_course_fees cf on cf.college_id = c.college_id inner join vidhyaa_course vc on vc.course_id=cf.course_id where c.college_id = 5197 ') in Frontend.php line 6154
  20. at Frontend->get_courses_by_parent_and_type(array('parent' => '5197', 'type' => 'college'))
  21. at call_user_func_array(array(object(Frontend), 'get_courses_by_parent_and_type'), array(array('parent' => '5197', 'type' => 'college'))) in Model.php line 3473
  22. at Model::__callStatic('get_courses_by_parent_and_type', array(array('parent' => '5197', 'type' => 'college'))) in BaseController.php line 5740
  23. at BaseController->get_course(array('type' => 'college', 'id' => '5197', 'slug' => 'aravind-eye-hospitals-and-postgraduate-institute-of-ophthalmology-madurai-5197', 'content' => '<h1>Aravind Eye Hospitals and Postgraduate Institute of Ophthalmology, Madurai</h1> <h4 class="similar"><span>Courses</span></h4> <p>[course]</p> <h4 class="similar"><span>Facilities</span></h4> <p>[facility]</p>', 'url' => 'https://www.vidhyaa.in/new/college/aravind-eye-hospitals-and-postgraduate-institute-of-ophthalmology-madurai-5197/1'))
  24. at call_user_func_array(array(object(CollegeController), 'get_course'), array(array('type' => 'college', 'id' => '5197', 'slug' => 'aravind-eye-hospitals-and-postgraduate-institute-of-ophthalmology-madurai-5197', 'content' => '<h1>Aravind Eye Hospitals and Postgraduate Institute of Ophthalmology, Madurai</h1> <h4 class="similar"><span>Courses</span></h4> <p>[course]</p> <h4 class="similar"><span>Facilities</span></h4> <p>[facility]</p>', 'url' => 'https://www.vidhyaa.in/new/college/aravind-eye-hospitals-and-postgraduate-institute-of-ophthalmology-madurai-5197/1'))) in BaseController.php line 5397
  25. at BaseController->get_content(array('type' => 'college', 'id' => '5197', 'slug' => 'aravind-eye-hospitals-and-postgraduate-institute-of-ophthalmology-madurai-5197', 'content' => '<h1>Aravind Eye Hospitals and Postgraduate Institute of Ophthalmology, Madurai</h1> <h4 class="similar"><span>Courses</span></h4> <p>[course]</p> <h4 class="similar"><span>Facilities</span></h4> <p>[facility]</p>', 'url' => 'https://www.vidhyaa.in/new/college/aravind-eye-hospitals-and-postgraduate-institute-of-ophthalmology-madurai-5197/1')) in CollegeController.php line 898
  26. at CollegeController->getDetails('aravind-eye-hospitals-and-postgraduate-institute-of-ophthalmology-madurai-5197', '1') in CollegeController.php line 368
  27. at CollegeController->getIndex('aravind-eye-hospitals-and-postgraduate-institute-of-ophthalmology-madurai-5197', '1')
  28. at call_user_func_array(array(object(CollegeController), 'getIndex'), array('v1' => 'aravind-eye-hospitals-and-postgraduate-institute-of-ophthalmology-madurai-5197', 'v2' => '1')) in Controller.php line 256
  29. at Controller->callAction('getIndex', array('v1' => 'aravind-eye-hospitals-and-postgraduate-institute-of-ophthalmology-madurai-5197', 'v2' => '1')) in ControllerDispatcher.php line 164
  30. at ControllerDispatcher->call(object(CollegeController), object(Route), 'getIndex') in ControllerDispatcher.php line 112
  31. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  32. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  33. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  34. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  35. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 114
  36. at ControllerDispatcher->callWithinStack(object(CollegeController), object(Route), object(Request), 'getIndex') in ControllerDispatcher.php line 68
  37. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Frontend\CollegeController', 'getIndex') in Route.php line 203
  38. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  39. at Route->run(object(Request)) in Router.php line 704
  40. at Router->Illuminate\Routing\{closure}(object(Request))
  41. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  42. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  43. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  44. at Pipeline->then(object(Closure)) in Router.php line 706
  45. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 670
  46. at Router->dispatchToRoute(object(Request)) in Router.php line 631
  47. at Router->dispatch(object(Request)) in Kernel.php line 236
  48. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  49. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  50. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AfterMiddleware.php line 18
  51. at AfterMiddleware->handle(object(Request), object(Closure))
  52. at call_user_func_array(array(object(AfterMiddleware), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  53. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 50
  54. at VerifyCsrfToken->handle(object(Request), object(Closure))
  55. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  56. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  57. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  58. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  59. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
  60. at StartSession->handle(object(Request), object(Closure))
  61. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  62. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  63. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  64. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  65. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
  66. at EncryptCookies->handle(object(Request), object(Closure))
  67. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  68. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
  69. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  70. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  71. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  72. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  73. at Pipeline->then(object(Closure)) in Kernel.php line 122
  74. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  75. at Kernel->handle(object(Request)) in index.php line 53
  76. at require_once('/home/cpvidhyaa/public_html/new/public/index.php') in index.php line 21