Node error launching mysql2 npm. sometimes error sometimes not.



  • I have a bot that is supposed to run 24/7 but often its crashed by mysql2 npm error (node).

    im using it correctly, what could be the issue? my app is performing loops and like 100 times it will work but 101th time will result in node error which crashes application.

    Ill adderror code here if i again get this error