Handle error for database already exists.