[DB-SIG] Running a Python script against an embedded mySQL server.
mal at lemburg.com
Wed Jul 2 21:33:47 EDT 2003
quadric at primenet.com wrote:
> I have an application that has an embedded/extended Python interpreter. I need
> to add
> database capabilities and for reasons to lengthy to explain in this email, also
> an embedded database server. I have tentatively chosen mySQL 4.0 due to the
> ease of embedding, along with it having all the necessary database functionality
> I need.
If you need an embedded database engine, you should have a look
at the more powerful sqlite.sf.net.
Embedding MySQL would cause your application to go under GPL control.
sqlite comes with a BSD style license. It is also faster, offers more
features and is very robust.
You could use the sqlite ODBC driver together with the mxODBC Zope DA
to connect to that database backend.
Professional Python Software directly from the Source (#1, Jul 02 2003)
>>> Python/Zope Products & Consulting ... http://www.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
2003-07-01: Released mxODBC.Zope.DA for FreeBSD 1.0.6 beta 1
More information about the DB-SIG