Title: vip db
Published: July 7, 2026

---

 1. [VIP-CLI command reference](https://docs.wpvip.com/vip-cli/commands/)
 2. vip db

#  vip db

Access an environment’s database.

## Usage

    ```wp-block-preformatted
    vip db [options]
    ```

## Options

| Option | Description | 
|  `-h`, `--help` |  Retrieve a description, examples, and available options for a (sub)command. (default: false) |  
|  `-v`, `--version` |  Retrieve the version number of VIP-CLI currently installed on the local machine. (default: false) |  
|  `-d`, `--debug` |  [value] Generate verbose output during command execution to help identify or fix errors or bugs. |

## Examples

    ```wp-block-preformatted
    - Generate access to a read-only phpMyAdmin web interface for the environment's database.$ vip @example-app.develop db phpmyadmin
    ```

## Subcommands

| Name | Description | 
|  [`phpmyadmin`](https://docs.wpvip.com/vip-cli/commands/./phpmyadmin?output_format=md) |  Generate access to a read-only phpMyAdmin web interface for an environment database. |

Last updated: July 07, 2026