MySQL Threads

Corey Edwards tensai at
Sat Aug 6 14:24:21 MDT 2005

On Fri, 2005-08-05 at 20:26 -0600, C. Ed Felt wrote:
> Sasha:
> I am getting "too many connections" errors sometimes with my MySQL 
> intensive apps.  I will try turning off persistent connections.  What 
> config changes would you recommend?  I assume the correct file is 
> my.cnf?  I have never customized it before.  Any advice is appreciated.

The persistent connections is a PHP thing. In your PHP code
mysql_connect() is for short lived connections and mysql_pconnect() is
for persistent connections. All the other options are the same, I


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : 

More information about the PLUG mailing list