Connection lost
Closed this issue · 0 comments
julien-duponchelle commented
Traceback (most recent call last):
for binlogevent in stream:
File "/home/noplay/code/python-mysql-replication/pymysqlreplication/binlogstream.py", line 70, in fetchone
pkt = self.__stream_connection.read_packet()
File "/home/noplay/.virtualenvs/pymysqlreplication/local/lib/python2.7/site-packages/PyMySQL-0.5-py2.7.egg/pymysql/connections.py", line 685, in read_packet
packet = packet_type(self)
File "/home/noplay/.virtualenvs/pymysqlreplication/local/lib/python2.7/site-packages/PyMySQL-0.5-py2.7.egg/pymysql/connections.py", line 200, in __init__
self.__recv_packet()
File "/home/noplay/.virtualenvs/pymysqlreplication/local/lib/python2.7/site-packages/PyMySQL-0.5-py2.7.egg/pymysql/connections.py", line 217, in __recv_packet
raise OperationalError(2013, "Lost connection to MySQL server during query")
pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')