Traceback (most recent call last): File "/data/www/ecun/app.py", line 10213, in get if antiSprider(str(self.request.headers)): File "/data/www/ecun/app.py", line 6668, in antiSprider cur.execute("select id,locks,unlocks from anti.blockLogs where ip = '"+ ip +"' order by id desc limit 1") File "/usr/lib64/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute self.errorhandler(self, exc, value) File "/usr/lib64/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler raise errorclass, errorvalue OperationalError: (2006, 'MySQL server has gone away')