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