What is PyMySQL and how does it differ from MySQLdb? Can it affect Django deployment?

后端 未结 5 860
情歌与酒
情歌与酒 2020-12-01 01:18

I just solved some problems in my Django 1.3 app by using PyMySQL instead of MySQLdb. I followed this tutorial on how to make the switch: http://web-eng-help.blogspot.com/20

5条回答
  •  旧巷少年郎
    2020-12-01 02:07

    As per my experience I had difficulty in installing "MySQL-python" - (MySQLdb). It made me search for more alternatives so I found pymysql, and it also got installed easily and worked in first go like a charm. So I would suggest using pymysql only instead of MySQLdb.

提交回复
热议问题