Seeing Periodic DB Connection Error

Dazed
Dazed
@dazed
9 years ago
1,022 posts
CRI: Error connecting to MySQL Server: Can't connect to MySQL server on '127.0.0.1' (111) (#2003) - the site owner should contact their hosting provider for assistance.

I am seeing the above error a few times now and wanted to see if anyone had any suggestions for a cure?
updated by @dazed: 06/18/16 12:02:02AM
douglas
@douglas
9 years ago
2,797 posts
Are you still seeing this Dazed?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Dazed
Dazed
@dazed
9 years ago
1,022 posts
Hey Douglas. I have seen it twice in about a month and a half. I should probably just restart apache and the db but I have restarted the server and it comes back up. I have not seen this error in several years but I just went to a new server and it has shown up twice.
michael
@michael
9 years ago
7,768 posts
you can restart mysql if something goes wrong by going to your account here on jamroom.net then
HOSTING -> SERVER SETTINGS -> SERVER TOOLS -> Restart MySQL

once thats up again, run the integrity check with all the checkboxes checked so the tables are repaired.

That should fix it.