SQLSTATE[HY000] [2002] No such file or directory

Whoops, looks like something went wrong.

1/1 PDOException in Connector.php line 55: SQLSTATE[HY000] [2002] No such file or directory

  1. in Connector.php line 55
  2. at PDO->__construct('mysql:host=localhost;port=3306;dbname=imephoco_store', 'imephoco_dbuser', 'E{MV~BV.o%Nl', array('0', '2', '0', false, false)) in Connector.php line 55
  3. at Connector->createConnection('mysql:host=localhost;port=3306;dbname=imephoco_store', array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'imephoco_store', 'username' => 'imephoco_dbuser', 'password' => 'E{MV~BV.o%Nl', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'engine' => null, 'name' => 'mysql'), array('0', '2', '0', false, false)) in MySqlConnector.php line 24
  4. at MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'imephoco_store', 'username' => 'imephoco_dbuser', 'password' => 'E{MV~BV.o%Nl', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'engine' => null, 'name' => 'mysql')) in ConnectionFactory.php line 61
  5. at ConnectionFactory->Illuminate\Database\Connectors\{closure}()
  6. at call_user_func(object(Closure)) in Connection.php line 924
  7. at Connection->getPdo() in Connection.php line 792
  8. at Connection->reconnectIfMissingConnection() in Connection.php line 677
  9. at Connection->run('select hotsale_name from settings where id = 1', array(), object(Closure)) in Connection.php line 349
  10. at Connection->select('select hotsale_name from settings where id = 1')
  11. at call_user_func_array(array(object(MySqlConnection), 'select'), array('select hotsale_name from settings where id = 1')) in DatabaseManager.php line 317
  12. at DatabaseManager->__call('select', array('select hotsale_name from settings where id = 1')) in Facade.php line 217
  13. at DatabaseManager->select('select hotsale_name from settings where id = 1') in Facade.php line 217
  14. at Facade::__callStatic('select', array('select hotsale_name from settings where id = 1')) in routes.php line 133
  15. at DB::select('select hotsale_name from settings where id = 1') in routes.php line 133
  16. at RouteServiceProvider->{closure}(object(Router))
  17. at call_user_func(object(Closure), object(Router)) in Router.php line 398
  18. at Router->group(array('middleware' => array('web')), object(Closure)) in Facade.php line 219
  19. at Facade::__callStatic('group', array(array('middleware' => array('web')), object(Closure))) in routes.php line 442
  20. at Route::group(array('middleware' => array('web')), object(Closure)) in routes.php line 442
  21. at require('/home/imephocom/public_html/src/app/Http/routes.php') in RouteServiceProvider.php line 58
  22. at RouteServiceProvider->App\Providers\{closure}(object(Router))
  23. at call_user_func(object(Closure), object(Router)) in Router.php line 398
  24. at Router->group(array('namespace' => 'App\Http\Controllers', 'middleware' => 'web'), object(Closure)) in RouteServiceProvider.php line 59
  25. at RouteServiceProvider->mapWebRoutes(object(Router)) in RouteServiceProvider.php line 40
  26. at RouteServiceProvider->map(object(Router))
  27. at call_user_func_array(array(object(RouteServiceProvider), 'map'), array(object(Router))) in Container.php line 507
  28. at Container->call(array(object(RouteServiceProvider), 'map')) in RouteServiceProvider.php line 72
  29. at RouteServiceProvider->loadRoutes() in RouteServiceProvider.php line 31
  30. at RouteServiceProvider->boot(object(Router)) in RouteServiceProvider.php line 29
  31. at RouteServiceProvider->boot(object(Router))
  32. at call_user_func_array(array(object(RouteServiceProvider), 'boot'), array(object(Router))) in Container.php line 507
  33. at Container->call(array(object(RouteServiceProvider), 'boot')) in Application.php line 757
  34. at Application->bootProvider(object(RouteServiceProvider)) in Application.php line 740
  35. at Application->Illuminate\Foundation\{closure}(object(RouteServiceProvider), '14')
  36. at array_walk(array(object(EventServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FoundationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(ImageServiceProvider), object(RecaptchaServiceProvider)), object(Closure)) in Application.php line 741
  37. at Application->boot() in BootProviders.php line 17
  38. at BootProviders->bootstrap(object(Application)) in Application.php line 203
  39. at Application->bootstrapWith(array('Illuminate\Foundation\Bootstrap\DetectEnvironment', 'Illuminate\Foundation\Bootstrap\LoadConfiguration', 'Illuminate\Foundation\Bootstrap\ConfigureLogging', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\RegisterProviders', 'Illuminate\Foundation\Bootstrap\BootProviders')) in Kernel.php line 232
  40. at Kernel->bootstrap() in Kernel.php line 127
  41. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
  42. at Kernel->handle(object(Request)) in index.php line 54