Fixing Database configuration.