Traceback (most recent call last):
File "binlog2sql.py", line 150, in
binlog2sql.process_binlog()
File "binlog2sql.py", line 121, in process_binlog
self.print_rollback_sql(filename=tmp_file)
File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 844, in exit
self.commit()
File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 788, in commit
self._read_ok_packet()
File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 767, in _read_ok_packet
pkt = self._read_packet()
File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 987, in _read_packet
packet_header = self._read_bytes(4)
File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1033, in _read_bytes
CR.CR_SERVER_LOST, "Lost connection to MySQL server during query")
pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')
Traceback (most recent call last): File "binlog2sql.py", line 150, in
binlog2sql.process_binlog()
File "binlog2sql.py", line 121, in process_binlog
self.print_rollback_sql(filename=tmp_file)
File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 844, in exit
self.commit()
File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 788, in commit
self._read_ok_packet()
File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 767, in _read_ok_packet
pkt = self._read_packet()
File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 987, in _read_packet
packet_header = self._read_bytes(4)
File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1033, in _read_bytes
CR.CR_SERVER_LOST, "Lost connection to MySQL server during query")
pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')