• +387 66 516 174
  • info@privreda.org

Whoops, looks like something went wrong.

1/1 PDOException in Connector.php line 47: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

  1. in Connector.php line 47
  2. at PDO->__construct('mysql:host=localhost;dbname=privreda2', 'privreda2', 'CocAjramKogjec:', array('0', '2', '0', false, false)) in Connector.php line 47
  3. at Connector->createConnection('mysql:host=localhost;dbname=privreda2', array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'privreda2', 'username' => 'privreda2', 'password' => 'CocAjramKogjec:', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql'), array('0', '2', '0', false, false)) in MySqlConnector.php line 20
  4. at MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'privreda2', 'username' => 'privreda2', 'password' => 'CocAjramKogjec:', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 58
  5. at ConnectionFactory->createSingleConnection(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'privreda2', 'username' => 'privreda2', 'password' => 'CocAjramKogjec:', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 47
  6. at ConnectionFactory->make(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'privreda2', 'username' => 'privreda2', 'password' => 'CocAjramKogjec:', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', '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 3146
  9. at Model::resolveConnection(null) in Model.php line 3112
  10. at Model->getConnection() in Model.php line 1887
  11. at Model->newBaseQueryBuilder() in Model.php line 1828
  12. at Model->newQueryWithoutScopes() in Model.php line 1802
  13. at Model->newQuery() in Model.php line 735
  14. at Model::with('langs') in SiteController.php line 45
  15. at SiteController->index('en')
  16. at call_user_func_array(array(object(SiteController), 'index'), array('lang' => 'en')) in Controller.php line 246
  17. at Controller->callAction('index', array('lang' => 'en')) in ControllerDispatcher.php line 162
  18. at ControllerDispatcher->call(object(SiteController), object(Route), 'index') in ControllerDispatcher.php line 107
  19. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  20. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  21. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  22. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  23. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 108
  24. at ControllerDispatcher->callWithinStack(object(SiteController), object(Route), object(Request), 'index') in ControllerDispatcher.php line 67
  25. at ControllerDispatcher->dispatch(object(Route), object(Request), 'Abrs\Http\Controllers\SiteController', 'index') in Route.php line 204
  26. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  27. at Route->run(object(Request)) in Router.php line 701
  28. at Router->Illuminate\Routing\{closure}(object(Request))
  29. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  30. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  31. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  32. at Pipeline->then(object(Closure)) in Router.php line 703
  33. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 670
  34. at Router->dispatchToRoute(object(Request)) in Router.php line 628
  35. at Router->dispatch(object(Request)) in Kernel.php line 214
  36. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  37. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  38. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Language.php line 23
  39. at Language->handle(object(Request), object(Closure)) in Pipeline.php line 125
  40. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 43
  41. at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 20
  42. at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 125
  43. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 55
  44. at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
  45. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 61
  46. at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
  47. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 36
  48. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 125
  49. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 40
  50. at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 125
  51. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
  52. at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 125
  53. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  54. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  55. at Pipeline->then(object(Closure)) in Kernel.php line 115
  56. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 84
  57. at Kernel->handle(object(Request)) in index.php line 53