Traceback (most recent call last): File "/data/www/xczx/app.py", line 713, in get e_cur.execute("select qhid,qhname,domain_k from qh where qhtype=1 order by qhid asc limit 31") 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')