Use config settings for database access