Database URLs

What is a Database URL?

The Database URL is the connection string of a database.

By default in Mitto it is the local database (postgresql://localhost/analytics).

The structure of database connection strings is as follows:

<driver>://<username>:<password>@<server>:<port>/<database><?parameters>


Common database drivers and parameters:

DBMS
Driver
PostgreSQLpostgresql
SQL Servermssql+turbodbc
SQL Servermssql+pyodbc
MySQLmysql+pymysql
MariaDBmysql+pymysql
Amazon Redshiftredshift+psycopg2
DBMS
Parameter
SQL Server?driver=ODBC+Driver+17+for+SQL+Server