推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
duanzhihe
V2EX  ›  Python

pymysql 连接数据库报错

  •  
  •   duanzhihe · Sep 27, 2016 · 5079 views
    This topic created in 3529 days ago, the information mentioned may be changed or developed.

    使用 pymysql 报错了,提示“ Packet sequence number wrong - got 45 expected 0 ”,在 github.com 找到这篇文章,但还是说了半天感觉没有说出问题和解决方法,故到这边来求助一番! 报错的具体提示信息: http://ww1.sinaimg.cn/mw690/6f6ef194jw1f886wbjx9oj20hq087jt5.jpg

    2 replies    2016-09-27 17:37:12 +08:00
    bwangel
        1
    bwangel  
       Sep 27, 2016
    你能提供一下你的代码,还有相关库版本吗?
    monsterxx03
        2
    monsterxx03  
       Sep 27, 2016
    是不是在多线程的下用了 pymysql 啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5833 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 466ea39e · 57ms · UTC 03:13 · PVG 11:13 · LAX 20:13 · JFK 23:13
    ♥ Do have faith in what you're doing.