Pure Python interface to MySQL?

James Mills prologic at shortcircuit.net.au
Mon Oct 6 19:27:00 EDT 2008


On Tue, Oct 7, 2008 at 9:15 AM, Roy Smith <roy at panix.com> wrote:
> Does there exist a pure Python version of a MySQL module?  I've got a data
> logging application that needs to run on a whole bunch of OSs, ranging from
> Windows to a dozen different unix flavors on all sorts of hardware.
>
> Portability is much more important than performance for this application.
> We're only inserting a few hundred records a day from each system, but the
> ability to quickly deploy to anywhere I've already got Python running is
> key.

My solution (tm):

You could implement a proxy server/client
sub-system that you could use to chuck MySQL
statements at the server which would in-turn
use the Python DB-API (mysql-python) module.
This way you would only have to maintain
_one_ instance of the mysql-python module
on the server.

cheers
James

-- 
--
-- "Problems are solved by method"



More information about the Python-list mailing list