0
A
回答
1
尝试
import MySQLdb
db=MySQLdb.connect(...other options...,read_timeout=60)
,其中60秒钟的读取超时数。
相关问题
- 1. MySQLdb执行超时
- 2. SocketTimeoutException:读取超时
- 3. asio ::超时读取
- 4. Python-超时读取URL时
- 5. SSL连接超时和读取超时
- 6. fread超时'mod_fcgid:读取超时管道'
- 7. 读取超时后重新读取ResponseStream
- 8. HttpMessageNotReadableException:无法读取JSON:读取超时
- 9. 异常java.net.SocketTimeoutException:读取超时
- 10. NIO SocketChannel的读取超时?
- 11. java.net.SocketTimeoutException:读取超时问题
- 12. SocketTimeoutException:读取超时httpclient
- 13. FTPClient SocketTimeoutException读取超时
- 14. Python PySerial读取线超时
- 15. EGit挂钩读取超时
- 16. java.net.sockettimeout异常:读取超时
- 17. pcap的零读取超时
- 18. nodejs + WS读取超时
- 19. mod_fcgid:读取数据超时
- 20. SearchControls.setTimeLimit()处理读取超时?
- 21. MySQLdb - libmysqlclient_r卡住读()
- 22. Cassandra在AWS上读取超时时间
- 23. FTP上传时读取超时
- 24. 在读取超时时写入频道
- 25. java.net.SocketTimeoutException:读超时
- 26. Tomcat轴Web服务客户端读取超时。超时配置
- 27. EGIT说30000毫秒后读取超时
- 28. OkHttp设置读取超时。 Android
- 29. 从PHP读取Apache连接超时
- 30. 分布式OSGi:读取超时
你确定有参数'read_timeout'?请在read_timeout可用的文档中使用'connnect' – Jasonw
以供将来遇到此问题的人使用:https://github.com/farcepest/MySQLdb1/blob/master/_mysql.c#L570(未记录,但可用对于MySQL> 5.1.12) – abigperson