node-mysql2 icon indicating copy to clipboard operation
node-mysql2 copied to clipboard

Connection is closed after ECONNRESET

Open almercier opened this issue 6 months ago • 2 comments

I have a rollback transaction call that is erroring with ECONNRESET, which is causing the module to close the connection. Per the comment `prevent from emitting 'PROTOCOL_CONNECTION_LOST' after EPIPE or ECONNRESET`` in connection.js it doesn't seem like that should happen, so it seems like line 179 needs to be before 178?

Image Image Image

almercier avatar Oct 17 '25 17:10 almercier

Hi @almercier can you please assign this issue to me. I want to work on this issue.

ayush-pandey047 avatar Nov 04 '25 19:11 ayush-pandey047

can you please assign this issue to me. I want to work on this issue.

Hey, @ayush-pandey047! You can open a Pull Request and write in the description: "Fixes #3870", for example. This will link your PR to this Issue and will close it on merging 🙋🏻‍♂️

wellwelwel avatar Nov 22 '25 19:11 wellwelwel