Mysql keeps loosing connection

I just set up email notification of unhandled exceptions and I'm
noticing this error happening a couple times a day:

(ActiveRecord::StatementInvalid) "Mysql::Error: Lost connection to
MySQL server during query:

But whenever I check the site after-the-fact it seems to be running
fine. There doesn't seem to be any strain on the db that would be
causing it to timeout or anything either. I'm not sure how to debug
this problem. Any ideas?


long shot, but are you persisting any objects to the session? One time
I wasn't pre-loading models before storing them to session and I got
random lost connections....

good luck

Have you installed the mysql gem?