chesslablab / chess-server

Asynchronous PHP server that provides services of data and chess functionality to play online over a WebSocket connection.
https://chesslablab.github.io/chess-server/
MIT License
49 stars 24 forks source link

Ensure the server is running #361

Closed programarivm closed 2 months ago

programarivm commented 2 months ago

Sometimes, correcting the "error 2006 (HY000): MySQL server has gone away" message is as simple as checking if the server is actually running.

programarivm commented 2 months ago

See https://github.com/chesslablab/chess-server/issues/354#issuecomment-2294913967