@
liprais 报错信息如下
Traceback (most recent call last):
File "E:\python\
tt.py", line 21, in <module>
cursor.execute(query);
File "D:\Python27\lib\site-packages\MySQLdb\
cursors.py", line 202, in execute
self.errorhandler(self, exc, value)
File "D:\Python27\lib\site-packages\MySQLdb\
connections.py", line 36, in defau
lterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.ProgrammingError: (2014, "Commands out of sync; you can't run
this command now")