"Pure Python" MySQL module like Net::MySQL

Gerhard Häring gh at ghaering.de
Sun Jul 20 09:09:02 EDT 2003


Ravi wrote:
> Hi,
> 
> I did some googling, and found that there doesn't seem to be a pure 
> python MySQL communication module. There is one for perl however, 
> Net::MySQL. 

Does it implement the MySQL wire protocol in pure Perl, without linking 
to libmysql? Sure that's possible in Python.

> I was wondering if there was a specific reason why something 
> similar hasn't been implemented in Python, 

Nobody needed it badly enough.

> a limitation of the language or libraries perhaps?

No.

> I briefly scanned through the perl source for 
> Net::MySQL, and there doesn't seem to be anything that couldn't be done 
> in Python, but I'm a fresh convert from perl land and I don't much 
> beyond the basics of Python yet.

Is there any particular reason why you'd need such a beast instead of 
just using MySQLdb?

-- Gerhard





More information about the Python-list mailing list