PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/IDP/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40 Stack trace: #0 /var/www/html/IDP/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct() #1 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct() #2 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection() #3 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection() #4 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection() #5 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect() #6 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() #7 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(926): call_user_func() #8 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(458): Illuminate\Database\Connection->getPdo() #9 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(664): Illuminate\Database\Connection->Illuminate\Database\{closure}() #10 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(745): Illuminate\Database\Connection->runQueryCallback() #11 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(725): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() #12 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(634): Illuminate\Database\Connection->handleQueryException() #13 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(465): Illuminate\Database\Connection->run() #14 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(417): Illuminate\Database\Connection->statement() #15 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\Database\Connection->insert() #16 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2839): Illuminate\Database\Query\Processors\Processor->processInsertGetId() #17 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1422): Illuminate\Database\Query\Builder->insertGetId() #18 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(902): Illuminate\Database\Eloquent\Builder->__call() #19 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(867): Illuminate\Database\Eloquent\Model->insertAndSetId() #20 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(730): Illuminate\Database\Eloquent\Model->performInsert() #21 /var/www/html/IDP/app/Http/Controllers/Email/EmailTransacionalController.php(28): Illuminate\Database\Eloquent\Model->save() #22 /var/www/html/IDP/app/Exceptions/Handler.php(63): App\Http\Controllers\Email\EmailTransacionalController->emailTecnico() #23 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(415): App\Exceptions\Handler->render() #24 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(113): Illuminate\Foundation\Http\Kernel->renderException() #25 /var/www/html/IDP/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle() #26 {main} Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/IDP/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18 Stack trace: #0 /var/www/html/IDP/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(44): Doctrine\DBAL\Driver\PDO\Exception::new() #1 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct() #2 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection() #3 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection() #4 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection() #5 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect() #6 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() #7 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(926): call_user_func() #8 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(458): Illuminate\Database\Connection->getPdo() #9 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(664): Illuminate\Database\Connection->Illuminate\Database\{closure}() #10 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(745): Illuminate\Database\Connection->runQueryCallback() #11 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(725): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() #12 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(634): Illuminate\Database\Connection->handleQueryException() #13 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(465): Illuminate\Database\Connection->run() #14 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(417): Illuminate\Database\Connection->statement() #15 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\Database\Connection->insert() #16 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2839): Illuminate\Database\Query\Processors\Processor->processInsertGetId() #17 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1422): Illuminate\Database\Query\Builder->insertGetId() #18 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(902): Illuminate\Database\Eloquent\Builder->__call() #19 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(867): Illuminate\Database\Eloquent\Model->insertAndSetId() #20 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(730): Illuminate\Database\Eloquent\Model->performInsert() #21 /var/www/html/IDP/app/Http/Controllers/Email/EmailTransacionalController.php(28): Illuminate\Database\Eloquent\Model->save() #22 /var/www/html/IDP/app/Exceptions/Handler.php(63): App\Http\Controllers\Email\EmailTransacionalController->emailTecnico() #23 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(415): App\Exceptions\Handler->render() #24 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(113): Illuminate\Foundation\Http\Kernel->renderException() #25 /var/www/html/IDP/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle() #26 {main} Next Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] Connection refused (SQL: insert into `logenvioemail` (`subject`, `name`, `email`, `body`, `updated_at`, `created_at`) values (Erro, Jonas, jonas@imoveldoproprietario.com.br, PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/IDP/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40 Stack trace: #0 /var/www/html/IDP/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct() #1 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct() #2 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection() #3 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection() #4 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection() #5 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect() #6 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() #7 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(926): call_user_func() #8 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(458): Illuminate\Database\Connection->getPdo() #9 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(664): Illuminate\Database\Connection->Illuminate\Database\{closure}() #10 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(745): Illuminate\Database\Connection->runQueryCallback() #11 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(725): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() #12 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(634): Illuminate\Database\Connection->handleQueryException() #13 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(465): Illuminate\Database\Connection->run() #14 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(417): Illuminate\Database\Connection->statement() #15 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\Database\Connection->insert() #16 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2839): Illuminate\Database\Query\Processors\Processor->processInsertGetId() #17 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1422): Illuminate\Database\Query\Builder->insertGetId() #18 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(902): Illuminate\Database\Eloquent\Builder->__call() #19 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(867): Illuminate\Database\Eloquent\Model->insertAndSetId() #20 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(730): Illuminate\Database\Eloquent\Model->performInsert() #21 /var/www/html/IDP/app/Http/Controllers/Email/EmailTransacionalController.php(28): Illuminate\Database\Eloquent\Model->save() #22 /var/www/html/IDP/app/Exceptions/Handler.php(63): App\Http\Controllers\Email\EmailTransacionalController->emailTecnico() #23 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(51): App\Exceptions\Handler->render() #24 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(172): Illuminate\Routing\Pipeline->handleException() #25 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #26 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\Pipeline\Pipeline->then() #27 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() #28 /var/www/html/IDP/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle() #29 {main} Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/IDP/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18 Stack trace: #0 /var/www/html/IDP/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(44): Doctrine\DBAL\Driver\PDO\Exception::new() #1 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct() #2 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(100): Illuminate\Database\Connectors\Connector->createPdoConnection() #3 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(50): Illuminate\Database\Connectors\Connector->tryAgainIfCausedByLostConnection() #4 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection() #5 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect() #6 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() #7 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(926): call_user_func() #8 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(458): Illuminate\Database\Connection->getPdo() #9 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(664): Illuminate\Database\Connection->Illuminate\Database\{closure}() #10 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(745): Illuminate\Database\Connection->runQueryCallback() #11 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(725): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() #12 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(634): Illuminate\Database\Connection->handleQueryException() #13 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(465): Illuminate\Database\Connection->run() #14 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(417): Illuminate\Database\Connection->statement() #15 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\Database\Connection->insert() #16 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2839): Illuminate\Database\Query\Processors\Processor->processInsertGetId() #17 /var/www/html/IDP/vendor/laravel/framework/sr, 2024-11-25 22:17:38, 2024-11-25 22:17:38)) in /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php:671 Stack trace: #0 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(745): Illuminate\Database\Connection->runQueryCallback() #1 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(725): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection() #2 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(634): Illuminate\Database\Connection->handleQueryException() #3 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(465): Illuminate\Database\Connection->run() #4 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Connection.php(417): Illuminate\Database\Connection->statement() #5 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\Database\Connection->insert() #6 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2839): Illuminate\Database\Query\Processors\Processor->processInsertGetId() #7 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1422): Illuminate\Database\Query\Builder->insertGetId() #8 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(902): Illuminate\Database\Eloquent\Builder->__call() #9 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(867): Illuminate\Database\Eloquent\Model->insertAndSetId() #10 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(730): Illuminate\Database\Eloquent\Model->performInsert() #11 /var/www/html/IDP/app/Http/Controllers/Email/EmailTransacionalController.php(28): Illuminate\Database\Eloquent\Model->save() #12 /var/www/html/IDP/app/Exceptions/Handler.php(63): App\Http\Controllers\Email\EmailTransacionalController->emailTecnico() #13 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(415): App\Exceptions\Handler->render() #14 /var/www/html/IDP/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(113): Illuminate\Foundation\Http\Kernel->renderException() #15 /var/www/html/IDP/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle() #16 {main}