CORE/src/Error/ExceptionTrap.php (line 134)
object(Cake\Database\Exception\MissingConnectionException) id:0 { protected _messageTemplate => 'Connection to %s could not be established: %s' protected _attributes => [ 'driver' => 'Mysql', 'reason' => 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for stage_papirey_database failed: Name does not resolve', ] protected _responseHeaders => null protected _defaultCode => (int) 0 protected message => 'Connection to Mysql could not be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for stage_papirey_database failed: Name does not resolve' protected code => (int) 0 protected file => '/var/www/vendor/cakephp/cakephp/src/Database/Driver.php' protected line => (int) 133 }
CORE/src/Error/ExceptionTrap.php (line 135)
'Cake\Error\Renderer\WebExceptionRenderer'

Warning: Unable to emit headers. Headers sent in file=/var/www/vendor/cakephp/cakephp/src/Error/Debugger.php line=1106 in /var/www/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vendor/cakephp/cakephp/src/Error/Debugger.php:1106) in /var/www/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vendor/cakephp/cakephp/src/Error/Debugger.php:1106) in /var/www/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php on line 197
Error: Connection to Mysql could not be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for stage_papirey_database failed: Name does not resolve

Connection to Mysql could not be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for stage_papirey_database failed: Name does not resolve 📋

Cake\Database\Exception\MissingConnectionException
Toggle Vendor Stack Frames
        $retry = new CommandRetry(new ErrorCodeWaitStrategy(static::RETRY_ERROR_CODES5), 4);
        try {
            $retry->run($action);
        } catch (PDOException $e) {
            throw new MissingConnectionException(
                [
                    'driver' => App::shortName(static::class, 'Database/Driver'),
                    'reason' => $e->getMessage(),
                ],

If you want to customize this error message, create templates/Error/error500.php