Parent Issue: #2893
Description
The Database Connection Service should extend a function to retrieve a database connection from its internal data structure, given a tenant id. If one isn't found, it should try to create a new connection using Knex and the databaseUrl that is associated with the tenant.
Prerequisites:
#3104