Python 3 and mysql through SQLAlchemy

前端 未结 4 1791
北恋
北恋 2020-12-29 14:35

Currently:

  • SQLAlchemy installed and working (or at least import v0.8.0b2)
  • Mysql (v5.5.16)
  • Distribute (0.6.34)
  • Oracle mysql-python co
4条回答
  •  生来不讨喜
    2020-12-29 15:10

    For others who arrive here, this should do it:

    • pip install mysql-connector==2.1.4 # version avoids Protobuf error
    • URI = 'mysql+mysqlconnector://$USER:$PASS@$HOST/$DB'

提交回复
热议问题