By default, installation of the Octopus Management Console creates a local PostgreSQL DB. If the installer chooses not to create the default database, the database connection needs to be configured manually following installation, from the Management Console.


If a database was not added during installation, the Database tab opens when you log into the Management Console for the first time. In addition, the following warning message is displayed: "No database is configured. Configure a database in order to proceed."



Supported Databases


The following database types and versions are supported: 


Database Type
Minimum VersionMaximum Version
PostgreSQL
PostgreSQL 9
PostgreSQL 15
MS SQLSQL Server 2012 SP4SQL Server 2022
OracleOracle Database 12cOracle Database 19c



Database User Permission Requirements


Required user permissions for each supported database type are listed in the table below. 


IMPORTANT: If you are working with multiple Management Console Servers, the same database user must be used for all instances.


Database Type
User Permissions
MS SQL (SQL Server Authentication)
  • Server Roles: public (sysadmin optional)
  • Database Role: public, db_owner
Oracle
  • Grant connect to <user>
  • Grant all privileges to <user>
PostgreSQL
Grant all privileges on database <db> to <user>



Configuring the Database Connection


The database connection is easily configured from the Octopus Management Console.


To configure the database connection:

  1. From the System Settings menu of the Management Console, select the Database tab.


  2. From the Database Type list, select PostgreSQL, MS SQL or Oracle.

  3. Specify the following settings by entering the relevant values in the appropriate fields:

    • Database Name: Name of the database

    • Host and Port: IP address (or URL) and port of the database

    • Username and Password: Credentials of the database administrator

  4. For MS SQL database types only: If the connection to the database is encrypted, enable the Database Encryption toggle button.


  5. For PostgreSQL database types only: To enable SSL communication between the Octopus Authentication Server and an external database, enable the SSL Connection toggle button.


  6. To check for validity of your settings, click Test Connection.

  7. To save the settings, click Save and then publish your changes.

Footer - Secret Double Octopus