Anna wrote:
> No.
> As long as you give them different names. :-)
> $connectionLocal=mysql_connect(bleah, bleah, bleah);
> $connectionOther=mysql_connect(bleah, bleah, bleah);
>
> Then in any mysql_query you must, of course, specify
> which connection you are using.
>
> Anna
>
Thanx,
I've alread
Or you could (if the two db servers are on the same lan) place a load
ballancer before them and the php connection wouldn't really care because the
two will look like one...;) Or you could write a connector script that checks
the 'health' of each server and then return the connect for that one.
c
Original Message -
From: "MB" <[EMAIL PROTECTED]>
> Hi all,
> I use replication on MySQL. One of my ideas is to generate HTML pages
> using PHP.
> Will I have any troubles using PHP and connecting simultaneously to both
> servers?
> Thanks in advance for any comments.
>
> Mariusz Brze
Hi all,
I use replication on MySQL. One of my ideas is to generate HTML pages
using PHP.
Will I have any troubles using PHP and connecting simultaneously to both
servers?
Thanks in advance for any comments.
Mariusz Brzezinski
WBK SA
tel. +48 61 856 53 57
mobile +48 501 623 123