Skip to content

Pre-configured database connections

This article explains how to set up and manage pre-configured database connections for the Team Edition server. These connections are defined by the administrator and stored on the server, making them unmodifiable by end users. Users can choose from these pre-configured connections directly through the main Team Edition toolbar and only need to provide their username and password to access the datasource, no other parameters are necessary.

Info

For information about server and workspace configuration, see Server configuration.

Datasources configuration file

All project-level configurations are located in the ${WORKSPACE}/workspace/GlobalConfiguration/.dbeaver folder. The datasources themselves are defined within the data-sources.json file (see Workspace location for details). Each project in Team Edition has its own configuration folder located in the cloudbeaver-rm container at ${WORKSPACE}/workspace/shared-projects/<project-name>/.dbeaver. The datasources themselves are defined within the data-sources.json file (see Workspace location for details).

This file contains the settings for each pre-configured connection, allowing the Team Edition server to manage and display these connections.

Example configuration

{
  "folders": {
  },
  "connections": {
    "dbeaver-sample-database-sqlite-1": {
      "provider": "sqlite",
      "driver": "sqlite_jdbc",
      "name": "DBeaver Sample Database (SQLite)",
      "save-password": true,
      "show-system-objects": true,
      "configuration": {
        "database": "/Users/user/Library/DBeaverData/workspace6/.metadata/sample-database-sqlite-1/Chinook.db",
        "url": "jdbc:sqlite:/Users/user/Library/DBeaverData/workspace6/.metadata/sample-database-sqlite-1/Chinook.db",
        "configurationType": "MANUAL",
        "type": "dev",
        "closeIdleConnection": true
      }
    }
  }
}

Tip

This file follows the same format as the DBeaver datasources configuration file. You can create this configuration in DBeaver and then copy it to your Team Edition server.