Subject | Connecting to database via linux-shell-script |
---|---|
Author | Nicolas Serr |
Post date | 2005-04-19T10:30:38Z |
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
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