Get a database connection by ID

Retrieves the configuration of a specific database connection.