Missing Database Connection 📋

Cake\Database\Exception\MissingConnectionException
Toggle Vendor Stack Frames

Connection to Mysql could not be established: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)

        $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