Dying if can't connect to database