Subject Re: [firebird-support] Re: Delphi, embedded FB, can't connect to database
Author Helen Borrie
At 02:43 AM 30/09/2003 +0000, you wrote:
> > 2. I can't connect to my db no matter what I try to name the db.
> > 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.

What *is* your "Delphi design environment"? (apart from Delphi, of
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 since
>I only wanted to connect at design time as a test for the embedded
>db because I'm lazy.

Can't work that one out...


> > 1. The documentation says:
> > 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'

On Windows you have two sorts of local access: TCP/IP local loopback
(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