I have two hives in my back yard. I also have 3 dogs, a three year old and a 1 yr old. All of them hang out in the back yard. The dogs were pretty interested at first, but after poking their nose in the hive entrance and getting stung they stopped.
Other than the dogs and me, no one has been stung. And the dogs only once. It would seem I have not learned my lesson.