Database Connections
On the initial configuration screen, as well as any configuration page which requires a connection to be set, the tool exposes a panel for connection string editing.
Connection strings are named settings which provide SanteDB with the necessary information to contact a particular database server using a specified provider.
Editing Connection Strings
When editing a connection string in an existing configuration file, you will be presented with a list of connection strings which have already been configured:
In the example above, a user could select a an existing Read/Write connection string which has already been configured or they can create a NEW connection string to, for example, bind the read/write connection string to a read/write primary node.
Connection Types
PostgreSQL Configuration
When PostgreSQL is selected as the database software, you should enter the connection details to the PostgreSQL server and database you'd like to configure.
Firebird
When Firebird is selected as the database software, SanteDB will assume you're using an embedded IBSQL (Firebird) database.
SQLite / SQLCipher
SanteDB iCDR version 3.0 and higher supports the configuration of the SQLite and SQLCipher persistence layer. This is ideal for test environments and lightweight deployments.
Creating a new Database
You can create a new database from the configuration tool on the database software of your choice by selecting New Database as the database option. You will be prompted to enter the details of the database you're creating:
You will need to provide the superuser account of a user which has CREATE DATABASE
permission on the selected provider. Upon pressing OK the database will be created and initialized, and you will be returned to the initial configuration screen.
Last updated