Traceback (most recent call last): File "/data/www/kim/app.py", line 4222, in get e_cur.execute("select sheng,shi from qh where xianid="+ xianid +" order by qhid asc 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 InterfaceError: (0, '')