Problems restoring connection to MySQL server after <2013: Lost connection to MySQL server during query>
After experimenting with this python module I noticed that I can't query my table on my NAS over the internet.
It fetches just 200 rows and throws
2013: Lost connection to MySQL server during query
So I decided to make a workaround for that to recover the connection e.g. via .reconnect(), but this didn't work and I browsed the code and made a manual reconnect via disconnect() and connect().
So, the result was this traceback:
File "/home/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
charset_name, collation_name))
File "/usr/lib/
raise errors.
mysql.
After that I browsed the code for functions which might [Cursor].reset() or whatever to fix that problem, but nothing helped..
Could you give me a hint to fix that? It would be great!
(using Ubuntu Raring + latest mysql connector for python using my build at https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Geert JM Vanderkelen
- Solved:
- Last query:
- Last reply: