Connecting to the database is easy enough, a
simple ini file must be written. The DBGlue driver takes care of translating the inifile to a
connection object. However, all current databases have a
requirement on the following format:
[Database]
host = hostname
user = dbuser
passwd = dbpasswd
driver = mysql
A database section must exist (thus allowing sharing the ini file
with other applications), followed by host, user, passwd, and
driver sections. The only catch is that driver, is not the python driver, or database
name, rather it's the dbglue
driver. The dbglue driver is
the name of the directory in the drivers folder.
Next: Examples