Re: database connections
From: Tim (Tim.1l9u5c_at_no-mx.hjyllc.com)
Date: 03/02/05
- Next message: NSpam: "Re: database connections"
- Previous message: Mark A. Boyd: "Re: Newbie wanting to learn simple php..."
- In reply to: Greg: "database connections"
- Next in thread: NSpam: "Re: database connections"
- Reply: NSpam: "Re: database connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 2 Mar 2005 08:43:25 -0600
With a pconnect mysql holds a session so that you are not reconnecting
each time. This works good if you are only connecting to one
database.
Warning:
There are time when pulling information from two different databases
within the same script where mysql will use the same session and try to
pull them all from one table.
-- Tim ------------------------------------------------------------------------ Tim's Profile: http://www.hjyllc.com/forums/member.php?userid=1 View this thread: http://www.hjyllc.com/forums/showthread.php?t=6808
- Next message: NSpam: "Re: database connections"
- Previous message: Mark A. Boyd: "Re: Newbie wanting to learn simple php..."
- In reply to: Greg: "database connections"
- Next in thread: NSpam: "Re: database connections"
- Reply: NSpam: "Re: database connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|