Whoops, looks like something went wrong.

(2/2) QueryException

SQLSTATE[HY000] [2002] Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2) (SQL: select * from `tbl_contents_category` where `parent_id` = 0)

in Connection.php line 647
at Connection->runQueryCallback('select * from `tbl_contents_category` where `parent_id` = ?', array('0'), object(Closure))in Connection.php line 607
at Connection->run('select * from `tbl_contents_category` where `parent_id` = ?', array('0'), object(Closure))in Connection.php line 326
at Connection->select('select * from `tbl_contents_category` where `parent_id` = ?', array('0'), true)in Builder.php line 1705
at Builder->runSelect()in Builder.php line 1690
at Builder->get(array('*'))in Builder.php line 462
at Builder->getModels(array('*'))in Builder.php line 446
at Builder->get()in AppServiceProvider.php line 22
at AppServiceProvider->boot()
at call_user_func_array(array(object(AppServiceProvider), 'boot'), array())in BoundMethod.php line 29
at BoundMethod::Illuminate\Container\{closure}()in BoundMethod.php line 87
at BoundMethod::callBoundMethod(object(Application), array(object(AppServiceProvider), 'boot'), object(Closure))in BoundMethod.php line 31
at BoundMethod::call(object(Application), array(object(AppServiceProvider), 'boot'), array(), null)in Container.php line 539
at Container->call(array(object(AppServiceProvider), 'boot'))in Application.php line 788
at Application->bootProvider(object(AppServiceProvider))in Application.php line 771
at Application->Illuminate\Foundation\{closure}(object(AppServiceProvider), 14)
at array_walk(array(object(EventServiceProvider), object(LogServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FormRequestServiceProvider), object(FoundationServiceProvider), object(NotificationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(ExcelServiceProvider), object(PaytmWalletServiceProvider), object(PayumoneyServiceProvider), object(PaystackServiceProvider)), object(Closure))in Application.php line 772
at Application->boot()in BootProviders.php line 17
at BootProviders->bootstrap(object(Application))in Application.php line 208
at Application->bootstrapWith(array('Illuminate\\Foundation\\Bootstrap\\LoadEnvironmentVariables', 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration', 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'Illuminate\\Foundation\\Bootstrap\\RegisterFacades', 'Illuminate\\Foundation\\Bootstrap\\RegisterProviders', 'Illuminate\\Foundation\\Bootstrap\\BootProviders'))in Kernel.php line 162
at Kernel->bootstrap()in Kernel.php line 146
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php line 116
at Kernel->handle(object(Request))in index.php line 53

(1/2) PDOException

SQLSTATE[HY000] [2002] Can't connect to local server through socket '/var/lib/mysql/mysql.sock' (2)

in Connector.php line 68
at PDO->__construct('mysql:host=localhost;port=3306;dbname=mezszare_c2f', 'mezszare_c2f', '~jJ@i*m,*4hZ', array(0, 2, 0, false, false))in Connector.php line 68
at Connector->createPdoConnection('mysql:host=localhost;port=3306;dbname=mezszare_c2f', 'mezszare_c2f', '~jJ@i*m,*4hZ', array(0, 2, 0, false, false))in Connector.php line 44
at Connector->createConnection('mysql:host=localhost;port=3306;dbname=mezszare_c2f', array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'mezszare_c2f', 'username' => 'mezszare_c2f', 'password' => '~jJ@i*m,*4hZ', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'strict' => true, 'engine' => null, 'name' => 'mysql'), array(0, 2, 0, false, false))in MySqlConnector.php line 24
at MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'localhost', 'port' => '3306', 'database' => 'mezszare_c2f', 'username' => 'mezszare_c2f', 'password' => '~jJ@i*m,*4hZ', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'strict' => true, 'engine' => null, 'name' => 'mysql'))in ConnectionFactory.php line 183
at ConnectionFactory->Illuminate\Database\Connectors\{closure}()
at call_user_func(object(Closure))in Connection.php line 883
at Connection->getPdo()in Connection.php line 904
at Connection->getReadPdo()in Connection.php line 392
at Connection->getPdoForSelect(true)in Connection.php line 318
at Connection->Illuminate\Database\{closure}('select * from `tbl_contents_category` where `parent_id` = ?', array('0'))in Connection.php line 640
at Connection->runQueryCallback('select * from `tbl_contents_category` where `parent_id` = ?', array('0'), object(Closure))in Connection.php line 607
at Connection->run('select * from `tbl_contents_category` where `parent_id` = ?', array('0'), object(Closure))in Connection.php line 326
at Connection->select('select * from `tbl_contents_category` where `parent_id` = ?', array('0'), true)in Builder.php line 1705
at Builder->runSelect()in Builder.php line 1690
at Builder->get(array('*'))in Builder.php line 462
at Builder->getModels(array('*'))in Builder.php line 446
at Builder->get()in AppServiceProvider.php line 22
at AppServiceProvider->boot()
at call_user_func_array(array(object(AppServiceProvider), 'boot'), array())in BoundMethod.php line 29
at BoundMethod::Illuminate\Container\{closure}()in BoundMethod.php line 87
at BoundMethod::callBoundMethod(object(Application), array(object(AppServiceProvider), 'boot'), object(Closure))in BoundMethod.php line 31
at BoundMethod::call(object(Application), array(object(AppServiceProvider), 'boot'), array(), null)in Container.php line 539
at Container->call(array(object(AppServiceProvider), 'boot'))in Application.php line 788
at Application->bootProvider(object(AppServiceProvider))in Application.php line 771
at Application->Illuminate\Foundation\{closure}(object(AppServiceProvider), 14)
at array_walk(array(object(EventServiceProvider), object(LogServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FormRequestServiceProvider), object(FoundationServiceProvider), object(NotificationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(ExcelServiceProvider), object(PaytmWalletServiceProvider), object(PayumoneyServiceProvider), object(PaystackServiceProvider)), object(Closure))in Application.php line 772
at Application->boot()in BootProviders.php line 17
at BootProviders->bootstrap(object(Application))in Application.php line 208
at Application->bootstrapWith(array('Illuminate\\Foundation\\Bootstrap\\LoadEnvironmentVariables', 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration', 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'Illuminate\\Foundation\\Bootstrap\\RegisterFacades', 'Illuminate\\Foundation\\Bootstrap\\RegisterProviders', 'Illuminate\\Foundation\\Bootstrap\\BootProviders'))in Kernel.php line 162
at Kernel->bootstrap()in Kernel.php line 146
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php line 116
at Kernel->handle(object(Request))in index.php line 53