Re: [PHP-DB] mysql_pconnect cannot create two permanent connections to the same machine ?

2006-01-18 Thread Aarno Syvänen
The code worked perfectly when databases 'bebbicell' and 'asterisk' were in the separate machines. It stopped working, when i copied the website to my machine. Aarno On 17 Jan 2006, at 18:48, Micah Stevens wrote: On Tuesday 17 January 2006 7:57 am, Aarno Syvänen wrote: Hi List, I do not

Re: [PHP-DB] mysql_pconnect cannot create two permanent connections to the same machine ?

2006-01-17 Thread Micah Stevens
On Tuesday 17 January 2006 7:57 am, Aarno Syvänen wrote: > Hi List, > > I do not claim that this is bug, but it is not a nice feature either. > > I do have following: > > /* db.php */ > $db_server="127.0.0.1"; > $db_user = ** > $db_pass = ** > $db_db = "bebbicell"; > > $db_account_server="

Re: [PHP-DB] mysql_pconnect cannot create two permanent connections to the same machine ?

2006-01-17 Thread Philip Hallstrom
Hi List, I do not claim that this is bug, but it is not a nice feature either. I do have following: Note that databases here are totally unrelated. They are on the same machine only because i am developing. I want later to move 'asterisk' to a separate machine, but when i do this, i want ju

[PHP-DB] mysql_pconnect cannot create two permanent connections to the same machine ?

2006-01-17 Thread Aarno Syvänen
Hi List, I do not claim that this is bug, but it is not a nice feature either. I do have following: $accid=mysql_pconnect($db_account_server,$db_account_user, $db_account_pass); //error_reporting ( $level); mysql_select_db($db_account_db, $accid); ?> Note that databases here are totally unre