Using PyMySQL as a MySQL driver

20 views
Skip to first unread message

Craig Bruce

unread,
Nov 9, 2016, 4:11:46 PM11/9/16
to Django users
Hi,

I have to use MySQL and an associated driver. Looking through the options in the docs my choices are limited since a) I use Python 3 and b) I can't use GPL code. Unless Django importing a GPL library does not qualify as linking in the GPL sense. Previous threads from django-dev suggest that it probably does.

Therefore, I can't use any of the listed drivers. I came across PyMySQL, which does seem to just drop in and work as it is PEP 249 compliant and is MIT licensed.

My question is does anyone have experience using PyMySQL, are there any reasons why I shouldn't use it or known issues? Is anyone using it in production?

Thanks in advance for any advice.

Cheers
Craig
Reply all
Reply to author
Forward
0 new messages