Prepare your PostgreSQL or Oracle

dbCove can keep its repository in your PostgreSQL or Oracle. Your DBA prepares the database one time. Then you start dbCove.

Prepare your PostgreSQL

  1. Ask your DBA to run this script one time. PostgreSQL 17 or later is necessary.

    CREATE ROLE dbcove LOGIN PASSWORD '<password>';
    CREATE DATABASE dbcove ENCODING 'UTF8' LOCALE_PROVIDER builtin BUILTIN_LOCALE 'C.UTF-8' TEMPLATE template0;
    \c dbcove
    CREATE SCHEMA dbcove AUTHORIZATION dbcove;
  2. Run the command in Install with Docker.

Prepare your Oracle

  1. Ask your DBA to make a user for dbCove one time. Oracle Database 12.2 or later is necessary. The user must have these privileges:

    • CREATE SESSION, CREATE TABLE, CREATE SEQUENCE and CREATE TRIGGER
    • A quota on its default tablespace
  2. Run the command in Install with Docker.

Troubleshooting

ProblemSolution
The Oracle user does not have a privilege.Run docker logs dbcove-app. The log shows a grant script between two lines of =. Give the script to your DBA. dbCove starts after the DBA runs it.
Your database, schema or port has a different name.Add -e DBCOVE_REPOSITORY_DATABASE, -e DBCOVE_REPOSITORY_SCHEMA or -e DBCOVE_REPOSITORY_PORT to the command.
The log says that the DDL guard is not in place.Only a PostgreSQL superuser can switch on the DDL guard of the audit trail. The audit trail records changes without it.

Use one dbCove container for one repository. Two containers on the same repository give incorrect results.

Updated December 2, 2026