Whoops, looks like something went wrong.

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

  1. in Connector.php line 47
  2. at PDO->__construct('mysql:host=127.0.0.1;dbname=vsite133', 'root', 'go123', array('0', '2', '0', false, false)) in Connector.php line 47
  3. at Connector->createConnection('mysql:host=127.0.0.1;dbname=vsite133', array('driver' => 'mysql', 'host' => '127.0.0.1', 'database' => 'vsite133', 'username' => 'root', 'password' => 'go123', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => 'tyt_', 'strict' => false, 'name' => 'mysql'), array('0', '2', '0', false, false)) in MySqlConnector.php line 20
  4. at MySqlConnector->connect(array('driver' => 'mysql', 'host' => '127.0.0.1', 'database' => 'vsite133', 'username' => 'root', 'password' => 'go123', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => 'tyt_', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 58
  5. at ConnectionFactory->createSingleConnection(array('driver' => 'mysql', 'host' => '127.0.0.1', 'database' => 'vsite133', 'username' => 'root', 'password' => 'go123', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => 'tyt_', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 47
  6. at ConnectionFactory->make(array('driver' => 'mysql', 'host' => '127.0.0.1', 'database' => 'vsite133', 'username' => 'root', 'password' => 'go123', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => 'tyt_', 'strict' => false), 'mysql') in DatabaseManager.php line 177
  7. at DatabaseManager->makeConnection('mysql') in DatabaseManager.php line 65
  8. at DatabaseManager->connection(null) in Model.php line 3120
  9. at Model::resolveConnection(null) in Model.php line 3086
  10. at Model->getConnection() in Model.php line 1879
  11. at Model->newBaseQueryBuilder() in Model.php line 1820
  12. at Model->newQueryWithoutScopes() in Model.php line 1794
  13. at Model->newQuery() in Model.php line 3334
  14. at Model->__call('lists', array('value', 'name'))
  15. at SiteConfig->lists('value', 'name')
  16. at call_user_func_array(array(object(SiteConfig), 'lists'), array('value', 'name')) in Model.php line 3350
  17. at Model::__callStatic('lists', array('value', 'name')) in SiteController.php line 16
  18. at SiteConfig::lists('value', 'name') in SiteController.php line 16
  19. at SiteController->__construct() in WelcomeController.php line 25
  20. at WelcomeController->__construct(object(Request))
  21. at ReflectionClass->newInstanceArgs(array(object(Request))) in Container.php line 817
  22. at Container->build('App\Http\Controllers\WelcomeController', array()) in Container.php line 656
  23. at Container->make('App\Http\Controllers\WelcomeController', array()) in Application.php line 620
  24. at Application->make('App\Http\Controllers\WelcomeController') in ControllerDispatcher.php line 83
  25. at ControllerDispatcher->makeController('App\Http\Controllers\WelcomeController') in ControllerDispatcher.php line 54
  26. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\WelcomeController', 'getNewsList') in Route.php line 198
  27. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 131
  28. at Route->run(object(Request)) in Router.php line 692
  29. at Router->Illuminate\Routing\{closure}(object(Request))
  30. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  31. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in SiteMiddleware.php line 19
  32. at SiteMiddleware->handle(object(Request), object(Closure)) in Pipeline.php line 125
  33. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  34. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  35. at Pipeline->then(object(Closure)) in Router.php line 694
  36. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 661
  37. at Router->dispatchToRoute(object(Request)) in Router.php line 619
  38. at Router->dispatch(object(Request)) in Kernel.php line 214
  39. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  40. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  41. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 43
  42. at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 17
  43. at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 125
  44. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 55
  45. at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
  46. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 61
  47. at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
  48. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 36
  49. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 125
  50. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 40
  51. at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 125
  52. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
  53. at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 125
  54. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  55. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  56. at Pipeline->then(object(Closure)) in Kernel.php line 115
  57. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 84
  58. at Kernel->handle(object(Request)) in index.php line 53