why not use mysql_connect() ?

Dojip Kim greendrm@fst.or.kr
Thu, 07 Jun 2001 08:48:50 +0900 (KST)


problem of mysql_pconnect create more processes of mysqld... so 
system will be loaded heavily.

why not use mysql_connect?


>From chuck@horde.org Date: Wed,  6 Jun 2001 20:08:09 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 43607 invoked from network); 7 Jun 2001 00:09:51 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 7 Jun 2001 00:09:51 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 7CBA939F4; Wed,  6 Jun 2001 20:08:09 -0400 (EDT)
Received: from 192.168.0.110 ( [192.168.0.110])
	as user chuck@localhost by marina.horde.org with HTTP;
	Wed,  6 Jun 2001 20:08:09 -0400
Message-ID: <991872489.3b1ec5e961ba3@marina.horde.org>
Date: Wed,  6 Jun 2001 20:08:09 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <20010606161659.D7481@samrowe.com>
In-Reply-To: <20010606161659.D7481@samrowe.com>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] Display weirdness

Quoting Sam Rowe <sam@samrowe.com>:

> I have imp set to display 20 messages per page. If I have 701 messages
> when I log in, my initial INBOX screen only shows 1 message. This
> seems sub-optimal. Any reason not to have the "remainder" messages be at the
> opposite end of the "sort by" ?

Not that I can think of. Want to submit a patch?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.


>From chuck@horde.org Date: Wed,  6 Jun 2001 20:38:54 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 44638 invoked from network); 7 Jun 2001 00:40:37 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 7 Jun 2001 00:40:37 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id AE25739F4; Wed,  6 Jun 2001 20:38:54 -0400 (EDT)
Received: from 192.168.0.110 ( [192.168.0.110])
	as user chuck@localhost by marina.horde.org with HTTP;
	Wed,  6 Jun 2001 20:38:54 -0400
Message-ID: <991874334.3b1ecd1e5fb70@marina.horde.org>
Date: Wed,  6 Jun 2001 20:38:54 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <991871330.3b1ec1620c23f@wmail.fst.or.kr>
In-Reply-To: <991871330.3b1ec1620c23f@wmail.fst.or.kr>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] why not use mysql_connect() ?

Quoting Dojip Kim <greendrm@fst.or.kr>:

> problem of mysql_pconnect create more processes of mysqld... so 
> system will be loaded heavily.
> 
> why not use mysql_connect?

Please read http://www.php.net/manual/en/features.persistent-connections.php.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.