MySQL Forums
Forum List  »  Connector/Python

Re: mysql.connector/python vs MySQLdb
Posted by: Geert Vanderkelen
Date: February 20, 2013 11:41AM

Hi Terence,

The advantage of Connector/Python is that it is pure Python:
you do not need anything else but Python installed.

MySQLdb on the other hand works only when you have MySQL
libaries installed (which of course is usually the case). If
you are unlucky, and you can't find a compiled version of
MySQLdb for your platfrom, you will need to compile and that
might give you head aches (this is the reason
I started Connector/Python years ago).

So, you use whatever you like and what is easier for you to
install. The way you write your application will be very
similar with both.


Geert Vanderkelen
Software Developer at Oracle

Options: ReplyQuote

Written By
Re: mysql.connector/python vs MySQLdb
February 20, 2013 11:41AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.