Warning (512): /home/ubuntu/www/migrar2/tmp/cache/ is not writable [CORE/src/Cache/Engine/FileEngine.php, line 412]

Warning: file_put_contents(/home/ubuntu/www/migrar2/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/ubuntu/www/migrar2/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (512): /home/ubuntu/www/migrar2/tmp/cache/persistent/ is not writable [CORE/src/Cache/Engine/FileEngine.php, line 412]

Warning: file_put_contents(/home/ubuntu/www/migrar2/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/ubuntu/www/migrar2/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (512): /home/ubuntu/www/migrar2/tmp/cache/models/ is not writable [CORE/src/Cache/Engine/FileEngine.php, line 412]

Warning: file_put_contents(/home/ubuntu/www/migrar2/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/ubuntu/www/migrar2/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (512): /home/ubuntu/www/migrar2/tmp/cache/ is not writable [CORE/src/Cache/Engine/FileEngine.php, line 412]
Warning (2): file_put_contents(/home/ubuntu/www/migrar2/logs/error.log) [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied [CORE/src/Log/Engine/FileLog.php, line 131]

Warning: file_put_contents(/home/ubuntu/www/migrar2/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/ubuntu/www/migrar2/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (2): file_put_contents(/home/ubuntu/www/migrar2/logs/error.log) [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied [CORE/src/Log/Engine/FileLog.php, line 131]

Warning: file_put_contents(/home/ubuntu/www/migrar2/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/ubuntu/www/migrar2/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (2): file_put_contents(/home/ubuntu/www/migrar2/logs/error.log) [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied [CORE/src/Log/Engine/FileLog.php, line 131]

Warning: file_put_contents(/home/ubuntu/www/migrar2/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/ubuntu/www/migrar2/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (512): Unable to emit headers. Headers sent in file=/home/ubuntu/www/migrar2/vendor/cakephp/cakephp/src/Error/Debugger.php line=954 [CORE/src/Http/ResponseEmitter.php, line 71]

Warning: file_put_contents(/home/ubuntu/www/migrar2/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/ubuntu/www/migrar2/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (2): Cannot modify header information - headers already sent by (output started at /home/ubuntu/www/migrar2/vendor/cakephp/cakephp/src/Error/Debugger.php:954) [CORE/src/Http/ResponseEmitter.php, line 168]

Warning: file_put_contents(/home/ubuntu/www/migrar2/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/ubuntu/www/migrar2/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Warning (2): Cannot modify header information - headers already sent by (output started at /home/ubuntu/www/migrar2/vendor/cakephp/cakephp/src/Error/Debugger.php:954) [CORE/src/Http/ResponseEmitter.php, line 197]

Warning: file_put_contents(/home/ubuntu/www/migrar2/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/ubuntu/www/migrar2/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 131
Error: Missing Database Connection

Missing Database Connection 📋

Cake\Database\Exception\MissingConnectionException
Toggle Vendor Stack Frames

Connection to Mysql could not be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

        $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/missing_connection.php