[Zope] Using MySQL from a product

zope zope@flosoft.net
Tue, 29 Jul 2003 19:03:15 +0200


am Montag, 28. Juli 2003 23:31 erhalten:

> create my
> own connection - if so: how? And how do I make the queries?

conn = CompatMysqldb.Connection("localhost", "user", "password", database)
cursor = conn.cursor()
cursor.execute("<SQL statement>")


<hth>

fritz
(-:fs)