Fixed connection to configuration database