title: event.js 85 throw er; // Unhandled 'error' event in mysql server
body: <p>I have tried to start node js server with forever command, for few times its works fine but after some time it throws the error that server closed the connection.</p>
  
  <p>I am using Hostgator linux os. I have also installed mysql for database operation.<a href="https://i.stack.imgur.com/kab48.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kab48.png" alt="enter image description here"></a></p>
  
  <p>Can anybody please help me to find out the reason behind it lost the connection even we have started it with forever command ?</p>