Whoops, looks like something went wrong.

(2/2) QueryException

SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `variables` where (`status` = 1 and `name` = app_admin_prefix) limit 1)

in Connection.php (line 647)
at Connection->runQueryCallback('select * from `variables` where (`status` = ? and `name` = ?) limit 1', array('1', 'app_admin_prefix'), object(Closure))in Connection.php (line 607)
at Connection->run('select * from `variables` where (`status` = ? and `name` = ?) limit 1', array('1', 'app_admin_prefix'), object(Closure))in Connection.php (line 326)
at Connection->select('select * from `variables` where (`status` = ? and `name` = ?) limit 1', array('1', 'app_admin_prefix'), true)in Builder.php (line 1711)
at Builder->runSelect()in Builder.php (line 1695)
at Builder->get(array('*'))in Builder.php (line 462)
at Builder->getModels(array('*'))in Builder.php (line 446)
at Builder->get(array('*'))in BuildsQueries.php (line 75)
at Builder->first()in Helper.php (line 91)
at Helper::getVariable('app_admin_prefix')in web.php (line 45)
at require('/home/brcomjornalng/public_html/laravel/routes/web.php')in Router.php (line 329)
at Router->loadRoutes('/home/brcomjornalng/public_html/laravel/routes/web.php')in Router.php (line 285)
at Router->group(array('middleware' => 'web', 'namespace' => 'App\\Http\\Controllers'), '/home/brcomjornalng/public_html/laravel/routes/web.php')in RouteRegistrar.php (line 104)
at RouteRegistrar->group('/home/brcomjornalng/public_html/laravel/routes/web.php')in RouteServiceProvider.php (line 56)
at RouteServiceProvider->mapWebRoutes()in RouteServiceProvider.php (line 40)
at RouteServiceProvider->map()
at call_user_func_array(array(object(RouteServiceProvider), 'map'), array())in BoundMethod.php (line 30)
at BoundMethod::Illuminate\Container\{closure}()in BoundMethod.php (line 87)
at BoundMethod::callBoundMethod(object(Application), array(object(RouteServiceProvider), 'map'), object(Closure))in BoundMethod.php (line 31)
at BoundMethod::call(object(Application), array(object(RouteServiceProvider), 'map'), array(), null)in Container.php (line 539)
at Container->call(array(object(RouteServiceProvider), 'map'))in RouteServiceProvider.php (line 71)
at RouteServiceProvider->loadRoutes()in RouteServiceProvider.php (line 30)
at RouteServiceProvider->boot()in RouteServiceProvider.php (line 28)
at RouteServiceProvider->boot()
at call_user_func_array(array(object(RouteServiceProvider), 'boot'), array())in BoundMethod.php (line 30)
at BoundMethod::Illuminate\Container\{closure}()in BoundMethod.php (line 87)
at BoundMethod::callBoundMethod(object(Application), array(object(RouteServiceProvider), 'boot'), object(Closure))in BoundMethod.php (line 31)
at BoundMethod::call(object(Application), array(object(RouteServiceProvider), 'boot'), array(), null)in Container.php (line 539)
at Container->call(array(object(RouteServiceProvider), 'boot'))in Application.php (line 788)
at Application->bootProvider(object(RouteServiceProvider))in Application.php (line 771)
at Application->Illuminate\Foundation\{closure}(object(RouteServiceProvider), 21)
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(ImageServiceProvider), object(ChartsServiceProvider), object(ServiceProvider), object(JWTAuthServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(DateServiceProvider)), 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 160)
at Kernel->bootstrap()in Kernel.php (line 144)
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php (line 116)
at Kernel->handle(object(Request))in index.php (line 57)

(1/2) PDOException

SQLSTATE[HY000] [2002] Connection refused

in Connector.php (line 68)
at PDO->__construct('mysql:host=127.0.0.1;port=3306;dbname=brcomjor_2017', 'brcomjor_2017', 'jY0mwCXTCEqG', array(0, 2, 0, false, false))in Connector.php (line 68)
at Connector->createPdoConnection('mysql:host=127.0.0.1;port=3306;dbname=brcomjor_2017', 'brcomjor_2017', 'jY0mwCXTCEqG', array(0, 2, 0, false, false))in Connector.php (line 45)
at Connector->createConnection('mysql:host=127.0.0.1;port=3306;dbname=brcomjor_2017', array('driver' => 'mysql', 'host' => '127.0.0.1', 'port' => '3306', 'database' => 'brcomjor_2017', 'username' => 'brcomjor_2017', 'password' => 'jY0mwCXTCEqG', 'unix_socket' => '', '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' => '127.0.0.1', 'port' => '3306', 'database' => 'brcomjor_2017', 'username' => 'brcomjor_2017', 'password' => 'jY0mwCXTCEqG', 'unix_socket' => '', '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 `variables` where (`status` = ? and `name` = ?) limit 1', array('1', 'app_admin_prefix'))in Connection.php (line 640)
at Connection->runQueryCallback('select * from `variables` where (`status` = ? and `name` = ?) limit 1', array('1', 'app_admin_prefix'), object(Closure))in Connection.php (line 607)
at Connection->run('select * from `variables` where (`status` = ? and `name` = ?) limit 1', array('1', 'app_admin_prefix'), object(Closure))in Connection.php (line 326)
at Connection->select('select * from `variables` where (`status` = ? and `name` = ?) limit 1', array('1', 'app_admin_prefix'), true)in Builder.php (line 1711)
at Builder->runSelect()in Builder.php (line 1695)
at Builder->get(array('*'))in Builder.php (line 462)
at Builder->getModels(array('*'))in Builder.php (line 446)
at Builder->get(array('*'))in BuildsQueries.php (line 75)
at Builder->first()in Helper.php (line 91)
at Helper::getVariable('app_admin_prefix')in web.php (line 45)
at require('/home/brcomjornalng/public_html/laravel/routes/web.php')in Router.php (line 329)
at Router->loadRoutes('/home/brcomjornalng/public_html/laravel/routes/web.php')in Router.php (line 285)
at Router->group(array('middleware' => 'web', 'namespace' => 'App\\Http\\Controllers'), '/home/brcomjornalng/public_html/laravel/routes/web.php')in RouteRegistrar.php (line 104)
at RouteRegistrar->group('/home/brcomjornalng/public_html/laravel/routes/web.php')in RouteServiceProvider.php (line 56)
at RouteServiceProvider->mapWebRoutes()in RouteServiceProvider.php (line 40)
at RouteServiceProvider->map()
at call_user_func_array(array(object(RouteServiceProvider), 'map'), array())in BoundMethod.php (line 30)
at BoundMethod::Illuminate\Container\{closure}()in BoundMethod.php (line 87)
at BoundMethod::callBoundMethod(object(Application), array(object(RouteServiceProvider), 'map'), object(Closure))in BoundMethod.php (line 31)
at BoundMethod::call(object(Application), array(object(RouteServiceProvider), 'map'), array(), null)in Container.php (line 539)
at Container->call(array(object(RouteServiceProvider), 'map'))in RouteServiceProvider.php (line 71)
at RouteServiceProvider->loadRoutes()in RouteServiceProvider.php (line 30)
at RouteServiceProvider->boot()in RouteServiceProvider.php (line 28)
at RouteServiceProvider->boot()
at call_user_func_array(array(object(RouteServiceProvider), 'boot'), array())in BoundMethod.php (line 30)
at BoundMethod::Illuminate\Container\{closure}()in BoundMethod.php (line 87)
at BoundMethod::callBoundMethod(object(Application), array(object(RouteServiceProvider), 'boot'), object(Closure))in BoundMethod.php (line 31)
at BoundMethod::call(object(Application), array(object(RouteServiceProvider), 'boot'), array(), null)in Container.php (line 539)
at Container->call(array(object(RouteServiceProvider), 'boot'))in Application.php (line 788)
at Application->bootProvider(object(RouteServiceProvider))in Application.php (line 771)
at Application->Illuminate\Foundation\{closure}(object(RouteServiceProvider), 21)
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(ImageServiceProvider), object(ChartsServiceProvider), object(ServiceProvider), object(JWTAuthServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(DateServiceProvider)), 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 160)
at Kernel->bootstrap()in Kernel.php (line 144)
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php (line 116)
at Kernel->handle(object(Request))in index.php (line 57)