Subject | Re: [firebird-support] isc_attach_database and Linux |
---|---|
Author | Helen Borrie |
Post date | 2004-07-21T11:04:38Z |
At 10:40 AM 21/07/2004 +0000, you wrote:
Superserver. The only direct-local-connect option on Linux is
libfbembed.so and Classic server.
so, there will be an entry like
127.0.0.1 localhost # plus maybe an optional comment
or
127.0.0.0 localhost.localdomain # comment
Your localhost connection string would work as long as the hosts entry
exists. Of course, it won't work if the client is remote...
/heLen
>I am trying to connect to the example database usingThis one won't work with libfbclient.so and won't work at all with
>isc_attach_database on linux using Firebird 1.5 (libfbclient.so)
>using the database name,
>'/opt/firebird/examples/employee.fdb' or
Superserver. The only direct-local-connect option on Linux is
libfbembed.so and Classic server.
>'localhost:/opt/firebird/examples/employee.fdb'Is localhost (or localhost.localdomain) defined in the /etc/hosts file? If
>
>and get the following error:
>
>unable to complete network request to "C"
>- failed to locate host machine
so, there will be an entry like
127.0.0.1 localhost # plus maybe an optional comment
or
127.0.0.0 localhost.localdomain # comment
>- the specified name in host file or domain name services was notAlternatively, try localhost.localdomain or the IP address 127.0.0.1.
>found
>I am obviously using the wrong connection string. I cannot foundIt can be found in the OpGuide.pdf and also in the Quick Start Guide.
>documentation regarding the correct connection string for Linux.
Your localhost connection string would work as long as the hosts entry
exists. Of course, it won't work if the client is remote...
/heLen