Should work. This error occurs because each time a new user accesses a page, a new connection is created and never closed. Thus the max connections of MySQL is hit.
Could be correct, since mysql_pconnect does not open a new connection if there's a similar connection already open.On Wed, Jul 29, 2009 at 11:07 AM, Peter Karunyu <pkarunyu@gmail.com> wrote:
"Too many connections"? That is one error I've never seen! Making an educated guess, it could be sorted by using mysql_pconnect() instead of mysql_connect() right?
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
Other services @ http://my.co.ke
Other lists
-------------
Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
Science: http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
kazi: http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general