Subject RE: [firebird-support] Connecting to database via linux-shell-script
Author Alan McDonald
> Hi Alan,
>
> missing 'localhost' doesn?t seem to be the problem.
>
> Even if I don?t give the parameters fpr user and password, it?s still
> the same.
>
> Thanks,
>
> Nicolas

and "interbase"??? do we have a conflict between client libraries?
Alan

>
> Alan McDonald schrieb:
>
> >>Hi all,
> >>
> >>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
> >>
> >>
> >
> >is there any significance in the path including /interbase ?
> >have you tried
> >./isql localhost/opt/interbase etc etc
> >
> >Alan