MySQLDB 错误 InterfaceError(0,")

出现这个问题是由于db.close()后cursor还有操作;

可能是由于在关闭db前没有关闭cursor;

 

参考文献:https://stackoverflow.com/questions/6650940/interfaceerror-0

posted @ 2017-06-17 22:40  jhc888007  阅读(358)  评论(0编辑  收藏  举报