Subject Re: [firebird-support] How to connecto to an embedded Firebird?
Author Werner F. Bruhin
On 07/09/2011 12:23 PM, W O wrote:
> Yes Werner, I did.
>
> All the files in a folder and the application in the same folder.
>
> But...nothing.
not even some error?

In Python I use:

with raw kinterbasdb:

import kinterbasdb as kb
ds = kb.connect(dsn=parent.dbfilename,
user='sysdba',
password='masterkey',
charset='utf8')

parent.dbfilename is a windows path string for the database.

and with sqlalchemy:
dburl = db.sa.engine.url.URL('firebird',
username='sysdba',
password='masterkey',
host=None, port=None,
database=fileurl)

Werner