我下载的文件下载了4个小时(各种原因吧,应该不是下载时间长的问题,因为我下载完之后才打开的数据库连接)版本为python2x为了防止报错终止程序写了个死循环
参考一下: mysql数据库报错1205, 'Lock wait timeout exceeded; try restarting transaction'解决方案,剖析排查过程!_藏经阁-CSDN博客_数据库1205报错 1、起因最近在做python的项目中,发现经常报错:Exception happened during processing of request from ('127.0.0.1', 63114)Traceback (most recent call last): File "/Users/william/.pyenv/versions/3.7.4/lib/python3.7/s... https://blog.csdn.net/William0318/article/details/104391201