Working in an operations environment means that you get a lot of questions. There’s the inevitable troubleshooting tasks that go along with being a DBA. This is designed to be a quick reference post, much like my more in depth post in 2016 about timeouts. These typical error messages can create confusion and unneeded activities to diagnose. To aid my own process of elimination and those of others, here are three error messages every DBA should know by heart.
SQLSTATE[HY000] [2002] Connection timed out
Plain and simple: this error means the client cannot connect to the server.
- The calling program is trying to connect to the wrong database server (one that it cannot reach).
- The database server is completely down (you’d get another error if the server and client actually made a connection). …