擅长:python、mysql、java
<p>刚刚在Django 1.5.1和PyMySQL 0.5上遇到了相同的问题</p>
<p>通过使用PyMySQL的CMGS fork(<a href="https://github.com/CMGS/PyMySQL" rel="nofollow">https://github.com/CMGS/PyMySQL</a>)修复。希望它能进入主线PyMySQL。在这里查看CMGS的请求:<a href="https://github.com/petehunt/PyMySQL/pull/106" rel="nofollow">https://github.com/petehunt/PyMySQL/pull/106</a></p>
<p>从作者的评论和pull请求中的反馈来看,我认为它对于生产用途来说非常可靠。在</p>
<p>示例要求.txt线路:
-egit://github.com/CMGS/PyMySQL.git\egg=PyMySQL开发</p>