So I am running into a database error that I just can't seem to figure out. The site runs fine 99% of the time, I have no problem adding posts and pages, but every once in a while I get a database error. Rebooting Apache from the command line (Ubuntu 12.04) fixes it and everything goes back to normal. Sometimes the error happens when I am actively working on the site, sometimes when I wake up in the morning it is already down. There is minimal traffic to my site right now.
Everything I have found online points toward a wpconfig problem, but could this really be the case since I usually have zero problems publishing posts, adding media, pages, etc?