Subject | Re: [ib-support] Connecting to db using C |
---|---|
Author | Paul Reeves |
Post date | 2002-07-17T09:25:42Z |
William L. Thomson Jr. wrote:
employee database on a remote Linux box. Depressingly (for you), it all
worked as expected. I passed servername:/path/to/employee.gdb as an
argument to the program. Connection was established and data retrieved
without problem.
Can you use ISQL from the client PC to connect to the database on the
remote server? I suspect you have a configuration issue somewhere, but
other than that, I'm afraid I'm out of bright ideas.
Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird and InterBase
> Sorry for not having looked in the docs for an answer, but based on theWell, I tried compiling api3.c on an NT box and connecting to an
> comment above, by using a servername:/path/to/db.gdb should be able to
> use isc_attach();
>
> Although it appears to be trying to connect to the localhost. No good.
>
employee database on a remote Linux box. Depressingly (for you), it all
worked as expected. I passed servername:/path/to/employee.gdb as an
argument to the program. Connection was established and data retrieved
without problem.
Can you use ISQL from the client PC to connect to the database on the
remote server? I suspect you have a configuration issue somewhere, but
other than that, I'm afraid I'm out of bright ideas.
Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird and InterBase