Subject | Php shell script |
---|---|
Author | francisco_rui |
Post date | 2004-11-10T17:08:12Z |
Hi,
I'm using firebird in a php script for database access on a windows
machine
The problem is the following:
I can connect to the database if i use the script in a browser but if
i execute it like a shell script i get the following error:
DB Error: connect failed
[nativecode=Unable to complete network request to host "localhost".
Failed to l
ocate host machine. Undefined service gds_db/tcp.] **
ibase://user:pass@l
ocalhost/c:/path/file1.fdb
I have already added gsb_db 3050/gdb to services file
Does anybody had this problem before ?
Thanks in advance
Rui Francisco
I'm using firebird in a php script for database access on a windows
machine
The problem is the following:
I can connect to the database if i use the script in a browser but if
i execute it like a shell script i get the following error:
DB Error: connect failed
[nativecode=Unable to complete network request to host "localhost".
Failed to l
ocate host machine. Undefined service gds_db/tcp.] **
ibase://user:pass@l
ocalhost/c:/path/file1.fdb
I have already added gsb_db 3050/gdb to services file
Does anybody had this problem before ?
Thanks in advance
Rui Francisco