Just throwing this task up here to finally have some documentation of a problem that has plagued me from the start. I've tried a lot of things to deal with this, most recently adding several options to the session initialization, but MySQL server continues to wander off on a fairly regular basis.
Maybe someday I'll solve this problem; until then, if anyone has suggestions, I'm all ears.