Re: [PHP] Connecting To Multiple MySQL Databases

2005-02-08 Thread Richard Lynch
Silvio Porcellana wrote: > Richard Lynch wrote: > > >> > > >> Actually, you want a few SPARE MySQL connections, so you can use the >> mysql >> command line monitor to do things -- Particularly in case of a run-away >> PHP/MySQL script which slams the server into over-drive... If you don't >> ha

Re: [PHP] Connecting To Multiple MySQL Databases

2005-02-07 Thread Silvio Porcellana
Richard Lynch wrote: > > Actually, you want a few SPARE MySQL connections, so you can use the mysql command line monitor to do things -- Particularly in case of a run-away PHP/MySQL script which slams the server into over-drive... If you don't have a connection available cuz they're all used up b

Re: [PHP] Connecting To Multiple MySQL Databases

2005-02-07 Thread Richard Lynch
Tony Di Croce wrote: > OK... Here's a slightly different, but related question... > > Can database connection resources be serialiazed and re-used in a > different script invocation? For example, can I open a DB connection, > assign it to a $_SESSION[] variable and then later use it on a > diff

Re: [PHP] Connecting To Multiple MySQL Databases

2005-02-05 Thread John Holmes
Tony Di Croce wrote: OK... Here's a slightly different, but related question... Can database connection resources be serialiazed and re-used in a different script invocation? For example, can I open a DB connection, assign it to a $_SESSION[] variable and then later use it on a different page? Some

Re: [PHP] Connecting To Multiple MySQL Databases

2005-02-05 Thread Tony Di Croce
OK... Here's a slightly different, but related question... Can database connection resources be serialiazed and re-used in a different script invocation? For example, can I open a DB connection, assign it to a $_SESSION[] variable and then later use it on a different page? Somehow, I doubt it...

Re: [PHP] Connecting To Multiple MySQL Databases

2005-02-05 Thread NathanielGuy#21
Worked like a charm, thanks! --nathan On Thu, 03 Feb 2005 20:33:17 -0700, Dan Trainor <[EMAIL PROTECTED]> wrote: > NathanielGuy#21 wrote: > > I know this may be slightly off topic for a PHP listserv but I cant > > find my answer anywhere else. I start off generating a page connected > > to one d

Re: [PHP] Connecting To Multiple MySQL Databases

2005-02-03 Thread Dan Trainor
NathanielGuy#21 wrote: I know this may be slightly off topic for a PHP listserv but I cant find my answer anywhere else. I start off generating a page connected to one database as a certain user and I call a script that requires a connection to a second database as a different user. Is there any

Re: [PHP] Connecting To Multiple MySQL Databases

2005-02-03 Thread John Holmes
NathanielGuy#21 wrote: I know this may be slightly off topic for a PHP listserv but I cant find my answer anywhere else. I start off generating a page connected to one database as a certain user and I call a script that requires a connection to a second database as a different user. Is there any

[PHP] Connecting To Multiple MySQL Databases

2005-02-03 Thread NathanielGuy#21
I know this may be slightly off topic for a PHP listserv but I cant find my answer anywhere else. I start off generating a page connected to one database as a certain user and I call a script that requires a connection to a second database as a different user. Is there any way I could open that c