Is it because the connections are left open after the script has
executed?  Try this:

$connect = mysql_connect(...);

Run your code

Mysql_close($connect);

This will close the connection that you just opened.  If it doesn't work
right - look up mysql_close() on php.net for the correct syntax.  I
haven't used it in a while..

HTH,

Conor 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of prabhakar_ra
Sent: Tuesday, August 30, 2005 1:03 PM
To: [email protected]
Subject: [php_mysql] my sql probelm very urgent pls

hi 
my problem is whenever i am executing the mysql command it is creating 
one mysql process. after certain processes has been created it
is saying that "too many connections". now i don't want to create 
number process when mysql command executing. this will solve my problem.
pls help me regarding this. this is very urgent
problem
bye
prabhakar









The php_mysql group is dedicated to learn more about the PHP/MySQL web
database possibilities through group learning.  
Yahoo! Groups Links



 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/CefplB/TM
--------------------------------------------------------------------~-> 

The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to