• +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 PageController.php line 183
  15. at PageController->object(object(Request), 'sr', 'object', '51')
  16. at call_user_func_array(array(object(PageController), 'object'), array(object(Request), 'lang' => 'sr', 'objectseo' => 'object', 'objId' => '51')) in Controller.php line 246
  17. at Controller->callAction('object', array(object(Request), 'lang' => 'sr', 'objectseo' => 'object', 'objId' => '51')) in ControllerDispatcher.php line 162
  18. at ControllerDispatcher->call(object(PageController), object(Route), 'object') 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)) in Language.php line 23
  22. at Language->handle(object(Request), object(Closure)) in Pipeline.php line 125
  23. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  24. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  25. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 108
  26. at ControllerDispatcher->callWithinStack(object(PageController), object(Route), object(Request), 'object') in ControllerDispatcher.php line 67
  27. at ControllerDispatcher->dispatch(object(Route), object(Request), 'Abrs\Http\Controllers\PageController', 'object') in Route.php line 204
  28. at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
  29. at Route->run(object(Request)) in Router.php line 701
  30. at Router->Illuminate\Routing\{closure}(object(Request))
  31. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  32. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  33. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  34. at Pipeline->then(object(Closure)) in Router.php line 703
  35. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 670
  36. at Router->dispatchToRoute(object(Request)) in Router.php line 628
  37. at Router->dispatch(object(Request)) in Kernel.php line 214
  38. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  39. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
  40. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Language.php line 23
  41. at Language->handle(object(Request), object(Closure)) in Pipeline.php line 125
  42. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in VerifyCsrfToken.php line 43
  43. at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 20
  44. at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 125
  45. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 55
  46. at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
  47. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 61
  48. at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
  49. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 36
  50. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 125
  51. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 40
  52. at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 125
  53. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
  54. at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 125
  55. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  56. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
  57. at Pipeline->then(object(Closure)) in Kernel.php line 115
  58. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 84
  59. at Kernel->handle(object(Request)) in index.php line 53