add error when database is not on , "currently unavailable".