Subject | Re: [firebird-support] Re: Delphi, embedded FB, can't connect to database |
---|---|
Author | Helen Borrie |
Post date | 2003-09-30T04:30:15Z |
At 02:43 AM 30/09/2003 +0000, you wrote:
course). What db access components are you using to connect? Why do you
think its not possible to connect in the IDE, if the compiled app is able
to connect?
(connection string like localhost:d:\mydata\database.fdb) and "true local
access" which (when running a server) is a hack that connects the client to
the server without using the network protocol. It's this latter that the
embedded server uses. It can't use tcp/ip local loopback.
heLen
> > 2. I can't connect to my db no matter what I try to name the db.What *is* your "Delphi design environment"? (apart from Delphi, of
> > c:\data\mydb.gdb doesn't work. I get "unavailable database".
> > /c:/data/mydb.gdb doesn't work. I get bla bla "Connection
>actively
> > refused by server."
>
>Duh.. I'm an idiot. I've got it working now. At least my compiled
>file will connect, but its not possible to connect in the delphi
>design environment as far as i can tell.
course). What db access components are you using to connect? Why do you
think its not possible to connect in the IDE, if the compiled app is able
to connect?
>That's fine with me sinceCan't work that one out...
>I only wanted to connect at design time as a test for the embedded
>db because I'm lazy.
> > 1. The documentation says:On Windows you have two sorts of local access: TCP/IP local loopback
> > 2.2. Database access
> >
> > Only true local access is allowed. The embedded server
> > doesn't have any support for remote protocols, so even
> > access via "localhost" won't work.
> >
> > I have no idea what "true local access" is supposed to mean.
>
>I'm still confused about this. Even though I can connect, I'd still
>like an explaination of 'true local access'
(connection string like localhost:d:\mydata\database.fdb) and "true local
access" which (when running a server) is a hack that connects the client to
the server without using the network protocol. It's this latter that the
embedded server uses. It can't use tcp/ip local loopback.
heLen