Hello, I am having some weird issues with my site and HostGator: MY site has been running fine for 9 months, no I get this weird error saying: Error establishing a database connection but going on Yesterday after 25 mins the site will go back to normal - what could cause this?
If you (or someone evil) didn't tinker with wp-config or MySQL, there are only two reasons. I experienced that when i was on shared hosting before, they probably made a temporary change to server or your database got to its max size before they adjusted the settings.
If everything worked well and you haven't changed anything, notify them about the issue and they might respond you with something similar to the paragraph bellow. Another scenario where that message can show up is when SQL server is down or under maintenance/update. I believe that was the case since HostGator seems professional (never used them, but many people recommended them when I was switching away from shared hosting). The first time I had that problem on shared hosting, they were introducing new servers and back-end and my website was offline for 18 hours in 2 days (many unfortunate events after which they returned my website to the old server and made it respond slower than ever).
Found out there was an issue, HostGator sent me an email saying that they would be doing updates to my shared server but downtime should be limited to 10 mins or less.