0

I am using pymysql to query remote Amazon Aurora Db server from my EC2 instances. I am having issue that after a while I start getting exception:

Error Code: 2013. Lost connection to MySQL server during query

The same script when I run locally on my Macbook on a local MySQL then issue does not happen.

How do I sort it out?

Volatil3
  • 14,253
  • 38
  • 134
  • 263
  • Possible duplicate of [Error Code: 2013. Lost connection to MySQL server during query](https://stackoverflow.com/questions/10563619/error-code-2013-lost-connection-to-mysql-server-during-query) – vahdet Aug 15 '18 at 08:11
  • @vahdet I have seen that question and this is why I specifically mentioned Aurora for AMazon. I should update tags though. – Volatil3 Aug 15 '18 at 08:13
  • Is there a solution for this error? – Eralper Jul 24 '19 at 07:42

0 Answers0