Subject | Re: linking databases on two different machines |
---|---|
Author | nwo_2013 |
Post date | 2006-03-29T18:51:04Z |
--- In firebird-php@yahoogroups.com, Jochem Maas <jochem@...> wrote:
see where it gets me.
As for Jiri's suggestion of using machine2, the problem is we don't
want to use it for the web server, since it hosts many propietary
applications and is used to store sensitive company information.
I'll let you know how it unfolds...
>number
> Jiri Cincura wrote:
> > On 29.3.2006 0:07 nwo_2013 wrote:
> >
> >>I have machine number 1 (Windows 2003) which acts as a file and
> >>application server for the local network, also I´ve got machine
> >>2 (Linux) that is used as a web server (Apache). I need to set upa web
> >>page on machine 2, which queries a database located on machine 1.firebird/aliases.conf
> >
> >
> > And using
> > ibase_connect('machine1:database', 'user', 'pass', 'UNICODE_FSS');
>
> using the above requires 2 things:
>
> 1. there is an alias 'database' defined on machine2 in
> 2. port 3050 is open to incoming connections ... and possibly port2401 - but
> I can't remember for sure (It needs to be forwarded when tunnelinga firebird
> connection over SSH)routers/firewalls
>
> don't forget that you'll need to reconfigure whatever
> you have between the 2 machines in order to let the firebirdtraffic through.
>Thanks to both of you guys, I´ll try the alias database approach and
> > on machine2 isn't suitable?
> >
>
see where it gets me.
As for Jiri's suggestion of using machine2, the problem is we don't
want to use it for the web server, since it hosts many propietary
applications and is used to store sensitive company information.
I'll let you know how it unfolds...