Subject Re: [firebird-support] Connecting to database via linux-shell-script
Author Nicolas Serr
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

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
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>

--
Nicolas Serr

____________________________________
Erste Finanz- und Verm�gensberater AG
Analyse - Konzeption - Betreuung
Brahmsstr. 24a
81677 M�nchen

Tel.: 089 - 416 007 26
Fax: 089 - 416 007 25

www.efv-AG.de



[Non-text portions of this message have been removed]