Subject | RE: [firebird-support] Connecting to database via linux-shell-script |
---|---|
Author | Alan McDonald |
Post date | 2005-04-19T10:37:03Z |
> Hi all,is there any significance in the path including /interbase ?
>
> I´m trying to get a connection on my database via a shell script on a
> linux machine.
> Database and script running on the same machine.
>
> If I do the following there´s no problem to get access:
>
> $ ./isql
> CON> CONNECT /opt/interbase/DATABASE.GDB
> CON> user 'SYSDBA' password 'xxxxxx'
>
> But if I try it all-in-one like this:
> ./isql /opt/interbase/DATABASE.GDB user 'SYSDBA' password 'xxxxxx'
> I get the following:
> Statement failed, SQLCODE = -923
>
> connection rejected by remote interface
>
> Has anyone any idea?
>
> Thanks a lot!
>
> Nicolas Serr
have you tried
./isql localhost/opt/interbase etc etc
Alan