Traceback (most recent call last): File "/data/wwwroot/108cun/108cun.py", line 3752, in get cur.execute(query) File "build/bdist.linux-x86_64/egg/MySQLdb/cursors.py", line 202, in execute self.errorhandler(self, exc, value) File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 36, in defaulterrorhandler raise errorclass, errorvalue OperationalError: (2006, 'MySQL server has gone away')