Skip to content

Server database

Team Edition supports the following internal databases:

  • PostgreSQL (default)
  • MariaDB
  • Oracle
  • SQL Server

Accessing the database

  1. Identify database connection parameters used by the server

    Tip

    Look for CLOUDBEAVER_DB_* in the .env file or backend.cloudbeaver_db_*in k8s/values.yaml.

  2. Create a connection

    Example

    Typical PostgreSQL connection settings.

    Use web client to connect:

    • Host: postgres
    • Port: default is 5432
    • Database: default is cloudbeaver
    • User: value of CLOUDBEAVER_DB_USER
    • Password: value of CLOUDBEAVER_DB_PASSWORD

    Default credentials depend on your deployment configuration and may differ from standard PostgreSQL defaults.

  3. Open the cloudbeaver database.

Changing the database password

  1. Change passwords value:

    • for compose compose/cbte/.env value of CLOUDBEAVER_DB_PASSWORD variable
    • for k8s in k8s/cbte/values.yaml value of backend.cloudbeaver_db_password variable

    Example

    CLOUDBEAVER_DB_PASSWORD=NewStR0NgP2sSw0rD.

  2. Login into postgres container:

    • for compose from compose/cbte/ dir run docker compose exec -it postgres psql -U postgres
    • for k8s with kubectl kubectl-do exec -it postgres-*********-***** psql -U postgres
  3. Change postgres password:

    • ALTER USER postgres WITH PASSWORD 'NewStR0NgP2sSw0rD';
  4. Restart or redeploy cluster services:

    • for compose in compose/cbte execute docker compose up -d command
    • for k8s in k8s/ dir execute helm upgrade cloudbeaver ./cbte