Fixing database configuration issue