NXP-15978: better debugging of database-level connections