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