Subject | Re: [firebird-support] How to connecto to an embedded Firebird? |
---|---|
Author | W O |
Post date | 2011-07-09T12:24:01Z |
Yes, the message said: "connection error"
I can connect if I have an ODBC driver installed, but with "embedded" it
would be not necesary, right?
Anyway, I'll try your advice.
Thank you.
Walter.
I can connect if I have an ODBC driver installed, but with "embedded" it
would be not necesary, right?
Anyway, I'll try your advice.
Thank you.
Walter.
On Sat, Jul 9, 2011 at 6:48 AM, Werner F. Bruhin <werner.bruhin@...>wrote:
> **
>
>
> 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
>
>
>
[Non-text portions of this message have been removed]