Closed asijoumi closed 1 week ago
As you can see in stack trace, it's likely a MySQL issue, not TypeORM one.
I can see few relatively new issues on mysql2 repo, regarding ECONNRESET
- https://github.com/sidorares/node-mysql2/issues/2599
Are you using version 3.3.2
or newer of mysql2
?
Hi @Ginden,
Yes, I searched and I saw that from mysql2
.
I'm currently with the version 3.9.5
of mysql.
Maybe should I downgrade it ?
@asijoumi I created the issue on mysql2, would be nice if you could check if version 3.3.1 of mysql2 still has this issue so we can get some traction over there.
@niels-van-den-broeck, I will test it on my dev environment. I will keep you informed as soon as possible.
PS : I don't have this issue for my local environment, only for my dev/staging/prod ...
Hi @Ginden, @niels-van-den-broeck,
I have downgraded themysql2
package to version 3.3.1
. Since then, over the last 24 hours, I have not encountered the previous error.
Thank you for your help 👍
Could you comment on the mysql2 issue that you are facing the same issue perhaps? Could help identify the issue
Done !
Thank you, I close this issue 👍
Issue description
The communication between the server and mysql is reseting
Expected Behavior
Hi !
I have a very strange issue. Sometimes, my connections are reseting. I don't really now if its an typeorm issue or something missing on mysql.
Actual Behavior
Steps to reproduce
Don't know
My Environment
Additional Context
No response
Relevant Database Driver(s)
Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, and I know how to start.