I am currently having 20+ small websites with 1 comparatively large website in one shared account in HG. Sometime it is showing database connection error for few seconds and due to this, my all other websites are showing the same error at same time. What may be the reason? Any idea? If there is some problem with one website either due to traffic or plugins, I think it should not affect other websites in same account.
I also faced the same problem on one of my blog but the problem disappeared when I shifted the site to other server. Probably its a server error. Try to run the site on localhost or other server and see if error occurs.
How about your blog traffic? if your traffic and CPU usage exceeded the Shared hosting limit then Go for Dedicated Hosting...
It might be because of the hosting account limit. I would strongly recommended you to change your hosting from shared hosting to a VPS or a good quality shared hosting. Now a days I find ur blog inaccessible or damn slow most of the time.
I am Also on HostGator, But never faced this problem. Please check CPU usage on right of your cPanel, whenever you face error.