Whoops, looks like something went wrong.

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

  1. in Connector.php line 101
  2. at PDO->__construct('mysql:host=localhost;dbname=cpvidhya_vidhyaa', 'cpvidhya_vidhyaa', 'ctyS)bbeeTGL', array('0', '2', '0', false, false)) in Connector.php line 101
  3. at Connector->tryAgainIfCausedByLostConnection(object(PDOException), 'mysql:host=localhost;dbname=cpvidhya_vidhyaa', 'cpvidhya_vidhyaa', 'ctyS)bbeeTGL', array('0', '2', '0', false, false)) in Connector.php line 58
  4. 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
  5. 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
  6. 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
  7. 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
  8. at DatabaseManager->makeConnection('mysql') in DatabaseManager.php line 67
  9. at DatabaseManager->connection('mysql') in Model.php line 3245
  10. at Model::resolveConnection(null) in Model.php line 3211
  11. at Model->getConnection() in Model.php line 1914
  12. at Model->newBaseQueryBuilder() in Model.php line 1857
  13. at Model->newQueryWithoutScopes() in Model.php line 1831
  14. at Model->newQuery() in Model.php line 3457
  15. at Model->__call('whereRaw', array('user_id=?', array('1'))) in User.php line 217
  16. at User->get(array('user_id' => '1'))
  17. at call_user_func_array(array(object(User), 'get'), array(array('user_id' => '1'))) in Model.php line 3473
  18. at Model::__callStatic('get', array(array('user_id' => '1'))) in Controller.php line 42
  19. at Controller->__construct() in BaseController.php line 54
  20. at BaseController->__construct() in ScholarshipController.php line 32
  21. at ScholarshipController->__construct()
  22. at ReflectionClass->newInstanceArgs(array()) in Container.php line 776
  23. at Container->build('App\Http\Controllers\Frontend\ScholarshipController', array()) in Container.php line 627
  24. at Container->make('App\Http\Controllers\Frontend\ScholarshipController', array()) in Application.php line 674
  25. at Application->make('App\Http\Controllers\Frontend\ScholarshipController') in ControllerDispatcher.php line 85
  26. at ControllerDispatcher->makeController('App\Http\Controllers\Frontend\ScholarshipController') in ControllerDispatcher.php line 57
  27. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Frontend\ScholarshipController', 'getIndex') in Route.php line 203
  28. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  29. at Route->run(object(Request)) in Router.php line 704
  30. at Router->Illuminate\Routing\{closure}(object(Request))
  31. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  32. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  33. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  34. at Pipeline->then(object(Closure)) in Router.php line 706
  35. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 670
  36. at Router->dispatchToRoute(object(Request)) in Router.php line 631
  37. at Router->dispatch(object(Request)) in Kernel.php line 236
  38. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  39. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
  40. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AfterMiddleware.php line 18
  41. at AfterMiddleware->handle(object(Request), object(Closure))
  42. at call_user_func_array(array(object(AfterMiddleware), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  43. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 50
  44. at VerifyCsrfToken->handle(object(Request), object(Closure))
  45. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  46. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  47. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  48. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  49. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
  50. at StartSession->handle(object(Request), object(Closure))
  51. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  52. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  53. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  54. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  55. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
  56. at EncryptCookies->handle(object(Request), object(Closure))
  57. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  58. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
  59. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  60. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
  61. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  62. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  63. at Pipeline->then(object(Closure)) in Kernel.php line 122
  64. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
  65. at Kernel->handle(object(Request)) in index.php line 53
  66. at require_once('/home/cpvidhyaa/public_html/new/public/index.php') in index.php line 21