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), 'select * from `vidhyaa_user_meta` where (`user_id` = ?)', array('1'), object(Closure)) in Connection.php line 614
  14. at Connection->run('select * from `vidhyaa_user_meta` where (`user_id` = ?)', array('1'), object(Closure)) in Connection.php line 324
  15. at Connection->select('select * from `vidhyaa_user_meta` where (`user_id` = ?)', array('1'), true) in Builder.php line 1406
  16. at Builder->runSelect() in Builder.php line 1383
  17. at Builder->get() in MetaTrait.php line 20
  18. at User->get_meta_by_id('1')
  19. at call_user_func_array(array(object(User), 'get_meta_by_id'), array('1')) in Model.php line 3473
  20. at Model::__callStatic('get_meta_by_id', array('1')) in Controller.php line 43
  21. at Controller->__construct() in BaseController.php line 54
  22. at BaseController->__construct() in CollegeController.php line 32
  23. at CollegeController->__construct()
  24. at ReflectionClass->newInstanceArgs(array()) in Container.php line 776
  25. at Container->build('App\Http\Controllers\Frontend\CollegeController', array()) in Container.php line 627
  26. at Container->make('App\Http\Controllers\Frontend\CollegeController', array()) in Application.php line 674
  27. at Application->make('App\Http\Controllers\Frontend\CollegeController') in ControllerDispatcher.php line 85
  28. at ControllerDispatcher->makeController('App\Http\Controllers\Frontend\CollegeController') in ControllerDispatcher.php line 57
  29. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Frontend\CollegeController', 'getIndex') in Route.php line 203
  30. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  31. at Route->run(object(Request)) in Router.php line 704
  32. at Router->Illuminate\Routing\{closure}(object(Request))
  33. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  34. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  35. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  36. at Pipeline->then(object(Closure)) in Router.php line 706
  37. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 670
  38. at Router->dispatchToRoute(object(Request)) in Router.php line 631
  39. at Router->dispatch(object(Request)) in Kernel.php line 236
  40. at Kernel->Illuminate\Foundation\Http\{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)) in AfterMiddleware.php line 18
  43. at AfterMiddleware->handle(object(Request), object(Closure))
  44. at call_user_func_array(array(object(AfterMiddleware), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  45. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 50
  46. at VerifyCsrfToken->handle(object(Request), object(Closure))
  47. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  48. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  49. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  50. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  51. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
  52. at StartSession->handle(object(Request), object(Closure))
  53. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  54. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  55. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  56. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  57. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
  58. at EncryptCookies->handle(object(Request), object(Closure))
  59. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  60. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
  61. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  62. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  63. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  64. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  65. at Pipeline->then(object(Closure)) in Kernel.php line 122
  66. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  67. at Kernel->handle(object(Request)) in index.php line 53
  68. at require_once('/home/cpvidhyaa/public_html/new/public/index.php') in index.php line 21