PENDING Error going onto the website

Discussion in 'Help Desk' started by MCCMmayhem, Jul 10, 2019.

  1. MCCMmayhem

    MCCMmayhem New Member

    Joined:
    Jul 10, 2019
    Messages:
    1
    Likes Received:
    0
    Whenever I attempt to log onto the website or the console for my server I get this message:


    PDOException: SQLSTATE[HY000] [2002] No route to host in /var/www/html/site-mcprohosting/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:47 Stack trace: #0 /var/www/html/site-mcprohosting/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(47): PDO->__construct('mysql:host=192....', 'site', 'LZHwNawYxwg4qq3...', Array) #1 /var/www/html/site-mcprohosting/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(20): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=192....', Array, Array) #2 /var/www/html/site-mcprohosting/bootstrap/compiled.php(7208): Illuminate\Database\Connectors\MySqlConnector->connect(Array) #3 /var/www/html/site-mcprohosting/bootstrap/compiled.php(7203): Illuminate\Database\Connectors\ConnectionFactory->createSingleConnection(Array) #4 /var/www/html/site-mcprohosting/bootstrap/compiled.php(7127): Illuminate\Database\Connectors\ConnectionFactory->make(Array, 'mysql') #5 /var/www/html/site-mcprohosting/bootstrap/compiled.php(7101): Illuminate\Database\DatabaseManager->makeConnection('mysql') #6 /var/www/html/site-mcprohosting/bootstrap/compiled.php(3176): Illuminate\Database\DatabaseManager->connection('mysql') #7 /var/www/html/site-mcprohosting/app/storage/views/7dc6a278ff455b2485d03ec726b9d1fa(32): Illuminate\Support\Facades\Facade::__callStatic('connection', Array) #8 /var/www/html/site-mcprohosting/bootstrap/compiled.php(9733): include('/var/www/html/s...') #9 /var/www/html/site-mcprohosting/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(56): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/s...', Array) #10 /var/www/html/site-mcprohosting/bootstrap/compiled.php(9611): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/s...', Array) #11 /var/www/html/site-mcprohosting/bootstrap/compiled.php(9598): Illuminate\View\View->getContents() #12 /var/www/html/site-mcprohosting/bootstrap/compiled.php(9589): Illuminate\View\View->renderContents() #13 /var/www/html/site-mcprohosting/bootstrap/compiled.php(10287): Illuminate\View\View->render() #14 /var/www/html/site-mcprohosting/bootstrap/compiled.php(9819): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #15 /var/www/html/site-mcprohosting/bootstrap/compiled.php(4858): Symfony\Component\HttpFoundation\Response->__construct(Object(Illuminate\View\View)) #16 /var/www/html/site-mcprohosting/bootstrap/compiled.php(4684): Illuminate\Routing\Router->prepareResponse(Object(Illuminate\Http\Request), Object(Illuminate\View\View)) #17 /var/www/html/site-mcprohosting/bootstrap/compiled.php(4670): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #18 /var/www/html/site-mcprohosting/bootstrap/compiled.php(706): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #19 /var/www/html/site-mcprohosting/bootstrap/compiled.php(687): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #20 /var/www/html/site-mcprohosting/bootstrap/compiled.php(1146): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #21 /var/www/html/site-mcprohosting/bootstrap/compiled.php(7311): Illuminate\Http\FrameGuard->handle(Object(Illuminate\Http\Request), 1, true) #22 /var/www/html/site-mcprohosting/bootstrap/compiled.php(7908): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #23 /var/www/html/site-mcprohosting/bootstrap/compiled.php(7855): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #24 /var/www/html/site-mcprohosting/bootstrap/compiled.php(11016): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #25 /var/www/html/site-mcprohosting/bootstrap/compiled.php(648): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #26 /var/www/html/site-mcprohosting/public/index.php(49): Illuminate\Foundation\Application->run() #27 {main} Next ErrorException: SQLSTATE[HY000] [2002] No route to host (View: /var/www/html/site-mcprohosting/app/views/basic/index.blade.php) in /var/www/html/site-mcprohosting/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:47 Stack trace: #0 /var/www/html/site-mcprohosting/bootstrap/compiled.php(9735): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(PDOException)) #1 /var/www/html/site-mcprohosting/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(56): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/s...', Array) #2 /var/www/html/site-mcprohosting/bootstrap/compiled.php(9611): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/s...', Array) #3 /var/www/html/site-mcprohosting/bootstrap/compiled.php(9598): Illuminate\View\View->getContents() #4 /var/www/html/site-mcprohosting/bootstrap/compiled.php(9589): Illuminate\View\View->renderContents() #5 /var/www/html/site-mcprohosting/bootstrap/compiled.php(10287): Illuminate\View\View->render() #6 /var/www/html/site-mcprohosting/bootstrap/compiled.php(9819): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #7 /var/www/html/site-mcprohosting/bootstrap/compiled.php(4858): Symfony\Component\HttpFoundation\Response->__construct(Object(Illuminate\View\View)) #8 /var/www/html/site-mcprohosting/bootstrap/compiled.php(4684): Illuminate\Routing\Router->prepareResponse(Object(Illuminate\Http\Request), Object(Illuminate\View\View)) #9 /var/www/html/site-mcprohosting/bootstrap/compiled.php(4670): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #10 /var/www/html/site-mcprohosting/bootstrap/compiled.php(706): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #11 /var/www/html/site-mcprohosting/bootstrap/compiled.php(687): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #12 /var/www/html/site-mcprohosting/bootstrap/compiled.php(1146): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #13 /var/www/html/site-mcprohosting/bootstrap/compiled.php(7311): Illuminate\Http\FrameGuard->handle(Object(Illuminate\Http\Request), 1, true) #14 /var/www/html/site-mcprohosting/bootstrap/compiled.php(7908): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #15 /var/www/html/site-mcprohosting/bootstrap/compiled.php(7855): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #16 /var/www/html/site-mcprohosting/bootstrap/compiled.php(11016): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #17 /var/www/html/site-mcprohosting/bootstrap/compiled.php(648): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #18 /var/www/html/site-mcprohosting/public/index.php(49): Illuminate\Foundation\Application->run() #19 {main}




    I'm very confused about this, and I'm not sure what actions I should take. If anyone could help me out that would be greatly appreciated. Thank you
     

Share This Page

  • About Us

    MCProHosting is the world's largest and leading server provider founded in 2011. Our mission is to provide top-quality support and premium services backed by a committed group of individuals who work to ensure your experience is nothing but the best.

    We have provided services to over 550,000 satisfied clients worldwide by exceeding the industry standard and with our passion to develop the community for the better. We keep this mentality every day as we move forward and expand our family.
  • Follow us on Twitter!