Subject Re: [firebird-php] Re: Installing PHP-Firebird
Author Milan Babuskov
vengfulsquirrel wrote:
> The following commands work correctly:
> /opt/firebird/bin/isql connect '/opt/firebird/examples/employee.fdb'
> /opt/firebird/bin/isql connect
> 'localhost:/opt/firebird/examples/employee.fdb'
>
> But
> /opt/firebird/bin/isql connect
> '192.168.2.4:/opt/firebird/examples/employee.fdb'
> does not work and prints error: "connection rejected by remote
> interface".

Try with -user and -pass switches, something like this:

isql -user sysdba -pass *******
192.168.2.4:/opt/firebird/examples/employee.fdb


> The logfile has these 2 entries like 10 times.
> /opt/firebird/firebird.log:
> slinux2 Sat Nov 29 12:13:05 2003
> SERVER/process_packet: connection rejected for root
>
> slinux2 Sat Nov 29 12:13:05 2003
> SERVER/process_packet: connect reject, server exiting

AFAIK, that's because when you enter 192.168.2.4 it isn't a "local"
connection anymore, so you must supply username/password.

> Will apache need to connect through 192.168.2.4 and not localhost?

If apache (PHP) is on the same computer, than it doesn't matter. You can
connect with either of these.

--
Milan Babuskov
http://fbexport.sourceforge.net