Thursday, May 3, 2012

Why does django use mysqldb over mysql-connector?

I've just been through a slice of hell simply because I did not want to install mysql-server on my (osx) django development machine - my app connects to a remote mysql database.  It turns out that python's "mysqldb" depends on mysql binaries which are only packaged up with the server release.  This means that if you want to run django and connect to a remote mysql you still need to install mysqlserver locally.  I think that blows. Especially when there is a purely python mysql driver in "mysql-connector".

Has this happened by default or by design?  Is mysqldb really that much faster, or featureful, or just because it's more common?

Is anyone working on a pure python solution (mysql-connector) database backend? Is there one already?

thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/eyGNf1RsLEsJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate