Whoops, looks like something went wrong.
1/1
PDOException in Connector.php line 50:
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
- in Connector.php line 50
- at PDO->__construct('mysql:host=localhost;dbname=patric14_hba', 'patric14_nuevo', 'Pw4kIFzQgd', array('0', '2', '0', false, '0')) in Connector.php line 50
- at Connector->createConnection('mysql:host=localhost;dbname=patric14_hba', array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'patric14_hba', 'username' => 'patric14_nuevo', 'password' => 'Pw4kIFzQgd', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql'), array('0', '2', '0', false, '0')) in MySqlConnector.php line 22
- at MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'patric14_hba', 'username' => 'patric14_nuevo', 'password' => 'Pw4kIFzQgd', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 60
- at ConnectionFactory->createSingleConnection(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'patric14_hba', 'username' => 'patric14_nuevo', 'password' => 'Pw4kIFzQgd', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 49
- at ConnectionFactory->make(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'patric14_hba', 'username' => 'patric14_nuevo', 'password' => 'Pw4kIFzQgd', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', 'strict' => false), 'mysql') in DatabaseManager.php line 175
- at DatabaseManager->makeConnection('mysql') in DatabaseManager.php line 67
- at DatabaseManager->connection(null) in Model.php line 3181
- at Model::resolveConnection(null) in Model.php line 3147
- at Model->getConnection() in Model.php line 1895
- at Model->newBaseQueryBuilder() in Model.php line 1838
- at Model->newQueryWithoutScopes() in Model.php line 1812
- at Model->newQuery() in Model.php line 3393
- at Model->__call('byCode', array('es')) in MyApp.php line 29
- at Idioma->byCode('es') in MyApp.php line 29
- at MyApp->setLocale() in MyApp.php line 19
- at MyApp->__construct(object(Request), object(Idioma)) in MyAppServiceProvider.php line 30
- at MyAppServiceProvider->App\Providers\{closure}(object(Application), array()) in Container.php line 733
- at Container->build(object(Closure), array()) in Container.php line 626
- at Container->make('App\Domain\Contracts\MyAppContract', array()) in Application.php line 674
- at Application->make('App\Domain\Contracts\MyAppContract') in Container.php line 1157
- at Container->offsetGet('App\Domain\Contracts\MyAppContract') in Facade.php line 149
- at Facade::resolveFacadeInstance('App\Domain\Contracts\MyAppContract') in Facade.php line 118
- at Facade::getFacadeRoot() in Facade.php line 203
- at Facade::__callStatic('setLocale', array()) in routes.php line 14
- at MyApp::setLocale() in routes.php line 14
- at require('/home/patric14/core-bha/app/Http/routes.php') in RouteServiceProvider.php line 41
- at RouteServiceProvider->App\Providers\{closure}(object(Router))
- at call_user_func(object(Closure), object(Router)) in Router.php line 350
- at Router->group(array('namespace' => 'App\Http\Controllers'), object(Closure)) in RouteServiceProvider.php line 42
- at RouteServiceProvider->map(object(Router))
- at call_user_func_array(array(object(RouteServiceProvider), 'map'), array(object(Router))) in Container.php line 502
- at Container->call(array(object(RouteServiceProvider), 'map')) in RouteServiceProvider.php line 68
- at RouteServiceProvider->loadRoutes() in RouteServiceProvider.php line 30
- at RouteServiceProvider->boot(object(Router)) in RouteServiceProvider.php line 29
- at RouteServiceProvider->boot(object(Router))
- at call_user_func_array(array(object(RouteServiceProvider), 'boot'), array(object(Router))) in Container.php line 502
- at Container->call(array(object(RouteServiceProvider), 'boot')) in Application.php line 734
- at Application->bootProvider(object(RouteServiceProvider)) in Application.php line 717
- at Application->Illuminate\Foundation\{closure}(object(RouteServiceProvider), '16')
- at array_walk(array(object(EventServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(ControllerServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FormRequestServiceProvider), object(FoundationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ValidationServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(MyAppServiceProvider)), object(Closure)) in Application.php line 718
- at Application->boot() in BootProviders.php line 17
- at BootProviders->bootstrap(object(Application)) in Application.php line 203
- 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 222
- at Kernel->bootstrap() in Kernel.php line 117
- at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
- at Kernel->handle(object(Request)) in index.php line 123