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 * from ( select c.*,cf.fees as course_fees, 10000000000000 as weight from vidhyaa_college c inner join vidhyaa_course_fees cf on cf.college_id=c.college_id where cf.course_id in (345,2345,3345,3450,3451,3452,3453,3454,3456,3457,3458,3459) and c.deleted_at is null and c.status='active' union select vc.*, cf.fees as course_fees, tcl.weight from vidhyaa_top_college tc inner join vidhyaa_course cr on (cr.course_id like '%345%' or cr.short_name like '345%' or cr.slug like '345%') inner join vidhyaa_top_college_list tcl on tcl.top_college_id=tc.id inner join vidhyaa_college vc on vc.college_id=tcl.college_id left join vidhyaa_course_fees cf on cf.college_id=vc.college_id and cf.course_id = cr.course_id where tc.course_id in (345,2345,3345,3450,3451,3452,3453,3454,3456,3457,3458,3459) ) as tbl order by tbl.weight asc, tbl.name asc ') in Frontend.php line 3692
  20. at Frontend->get_colleges_by_course(array('course' => '345', 'all' => 'yes'))
  21. at call_user_func_array(array(object(Frontend), 'get_colleges_by_course'), array(array('course' => '345', 'all' => 'yes'))) in Model.php line 3473
  22. at Model::__callStatic('get_colleges_by_course', array(array('course' => '345', 'all' => 'yes'))) in BaseController.php line 5605
  23. at BaseController->get_offering_college(array('type' => 'course', 'slug' => 'bachelor-of-business-management-bbm-345', 'id' => '345', 'content' => '[offering_college]'))
  24. at call_user_func_array(array(object(NormalCourseController), 'get_offering_college'), array(array('type' => 'course', 'slug' => 'bachelor-of-business-management-bbm-345', 'id' => '345', 'content' => '[offering_college]'))) in BaseController.php line 5397
  25. at BaseController->get_content(array('type' => 'course', 'slug' => 'bachelor-of-business-management-bbm-345', 'id' => '345', 'content' => '[offering_college]')) in NormalCourseController.php line 821
  26. at NormalCourseController->getDetails('bachelor-of-business-management-bbm-345', 'offering-colleges') in NormalCourseController.php line 390
  27. at NormalCourseController->getIndex('bachelor-of-business-management-bbm-345', 'offering-colleges')
  28. at call_user_func_array(array(object(NormalCourseController), 'getIndex'), array('v1' => 'bachelor-of-business-management-bbm-345', 'v2' => 'offering-colleges')) in Controller.php line 256
  29. at Controller->callAction('getIndex', array('v1' => 'bachelor-of-business-management-bbm-345', 'v2' => 'offering-colleges')) in ControllerDispatcher.php line 164
  30. at ControllerDispatcher->call(object(NormalCourseController), 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(NormalCourseController), object(Route), object(Request), 'getIndex') in ControllerDispatcher.php line 68
  37. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Frontend\NormalCourseController', '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