[DB-SIG] Running a Python script against an embedded mySQL server.

Gerhard Häring lists at ghaering.de
Thu Jul 3 00:00:08 EDT 2003


M.-A. Lemburg wrote:
> quadric at primenet.com wrote:
> 
>> Hi,
>>
>> I have an application that has an embedded/extended Python 
>> interpreter.  I need to add
>> database capabilities [...]
> 
> If you need an embedded database engine, you should have a look
> at the more powerful sqlite.sf.net. [...]

The URLs are really:

http://pysqlite.sourceforge.net/
http://www.sqlite.org/

> Embedding MySQL would cause your application to go under GPL control.
> sqlite comes with a BSD style license. [...]

Actually, PySQLite has the Python license and SQLite itself is Public 
Domain.

 > It is also faster, offers more
> features and is very robust.

Yes to these, but SQLite is typeless, which can be annoying at times. 
Fortunately, PySQLite is programmed such that you usually won't see the 
typelessness of SQLite :-)

-- Gerhard



More information about the DB-SIG mailing list