ymysql.err.InternalError: (1205, u'Lock wait timeout exceeded; try restarting transaction')

js2java 发布于 2017/05/26 17:21
阅读 475
收藏 0

   conn.execute(sql)    
  File "E:\ProgramData\Anaconda2\lib\site-packages\pymysql\cursors.py", line 166, in execute
    result = self._query(query)
  File "E:\ProgramData\Anaconda2\lib\site-packages\pymysql\cursors.py", line 322, in _query
    conn.query(q)
  File "E:\ProgramData\Anaconda2\lib\site-packages\pymysql\connections.py", line 856, in query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  File "E:\ProgramData\Anaconda2\lib\site-packages\pymysql\connections.py", line 1057, in _read_query_result
    result.read()
  File "E:\ProgramData\Anaconda2\lib\site-packages\pymysql\connections.py", line 1340, in read
    first_packet = self.connection._read_packet()
  File "E:\ProgramData\Anaconda2\lib\site-packages\pymysql\connections.py", line 1014, in _read_packet
    packet.check_error()
  File "E:\ProgramData\Anaconda2\lib\site-packages\pymysql\connections.py", line 393, in check_error
    err.raise_mysql_exception(self._data)
  File "E:\ProgramData\Anaconda2\lib\site-packages\pymysql\err.py", line 107, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.InternalError: (1205, u'Lock wait timeout exceeded; try restarting transaction')

加载中
返回顶部
顶部