Customizing database connections