savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers] Enabled persistant MySQL connections in /include/


From: Sylvain Beucler
Subject: Re: [Savannah-hackers] Enabled persistant MySQL connections in /include/database.php
Date: Mon, 19 Apr 2004 21:15:25 +0200

On 2004.04.17 15:24, Elfyn McBratney wrote:
Hello,

I just noticed that db_connect() in /savannah/www/include/database. php
is
using mysql_connect() to connect to the database (meaning a new
connection is
made on every request), so I changed that to mysql_pconnect() (which
enables
persistant MySQl connections connections).

For more info, see:
  <http://www.php.net/mysql_pconnect>

How about adding this to Savane? Does the team know about that issue?

--
Sylvain



reply via email to

[Prev in Thread] Current Thread [Next in Thread]