Fixing reinstall-db.