Why use _mysql module and not use MySQLdb directly?

Asaf Las roegltd at gmail.com
Sat Feb 8 06:09:32 EST 2014


On Saturday, February 8, 2014 10:52:36 AM UTC+2, Sam wrote:
> I am writing my first python script to access MySQL database. 
> With reference to http://mysql-python.sourceforge.net/MySQLdb.html#connection-objects
> Why is it advisable to use _mysql and not MySQLdb module directly?

I used this one from Oracle and it was OK for simple test case and 
supports from 2.6 till 3.3:
http://dev.mysql.com/doc/connector-python/en/index.html
https://pypi.python.org/pypi/mysql-connector-python/1.1.5


yet there is page to bunch of others but i have never tried them:
https://wiki.python.org/moin/MySQL

Are there hidden issues about Oracle provided connector?



More information about the Python-list mailing list