pymysql.err.InterfaceError: (0, '')
mark一下,这个异常是数据连接失败
Traceback (most recent call last):
File "D:\project\CV_client\py_client\dll_call\dll_Initthread.py", line 102, in insertDb
r = cur.execute(sql)
File "D:\ProgramData\Miniconda3\envs\python3.6\lib\site-packages\DBUtils\SteadyDB.py", line 661, in tough_method
raise error # reraise the original error again
File "D:\ProgramData\Miniconda3\envs\python3.6\lib\site-packages\DBUtils\SteadyDB.py", line 580, in tough_method
result = method(*args, **kwargs) # try to execute
File "D:\ProgramData\Miniconda3\envs\python3.6\lib\site-packages\pymysql\cursors.py", line 165, in execute
result = self._query(query)
File "D:\ProgramData\Miniconda3\envs\python3.6\lib\site-packages\pymysql\cursors.py", line 321, in _query
conn.query(q)
File "D:\ProgramData\Miniconda3\envs\python3.6\lib\site-packages\pymysql\connections.py", lin
文章来源: blog.csdn.net,作者:网奇,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/jacke121/article/details/79861208
- 点赞
- 收藏
- 关注作者
评论(0)