Skip to content

datasource view

dbeaver-devops edited this page Jun 2, 2026 · 1 revision

Table of contents

Synopsis

dbvr datasource view [-hV] [--project=<projectIdOrName>]
                           <id>

Tip: You can also use global options with this command.

Description

Print the full datasource configuration as stored in data-sources.json.

The output is returned in JSON format and reflects the exact state of the datasource in the active workspace.

Required argument

<id>

Specify the datasource ID or name. The value must match an existing datasource in the active workspace.

Tip: Run datasource list and use the value from the ID column.

Options

--project

--project=<projectIdOrName>

View the datasource from the specified project. Use this option if multiple projects exist and the datasource ID is not unique across them.

Tip: Run project list to see available projects.

Example

dbvr datasource view mysql8-18c10fd1718-55d1526e02eca585

Sample output:

{
  "provider": "mysql-ee",
  "driver": "mysql8",
  "name": "MySQL - localhost",
  "save-password": true,
  "folder": "MySQL",
  "configuration": {
    "host": "localhost",
    "port": "3306",
    "url": "jdbc:mysql://localhost:3306/",
    "configurationType": "MANUAL",
    "home": "mysql_client",
    "type": "dev",
    "closeIdleConnection": false,
    "config-profile": "db1",
    "auth-model": "native"
  },
  "externalParametersConfig": {
    "parametersConfigurationId": "4a520268-52eb-4af1-a6c5-9c843f8fa3a8",
    "secretName": "dev/app/db/password"
  }
}

Clone this wiki locally