MySQL Forums
Forum List  »  Connector/Python

Re: capturing max concurrent connection limit
Posted by: Tobias Marx
Date: May 16, 2008 03:18AM

$result=mysql_query("show status like '%Max_used_connections%';");

list($variable, $value)=mysql_fetch_row($result);


if ($value>100){

// do something

}

Options: ReplyQuote


Subject
Written By
Posted
Re: capturing max concurrent connection limit
May 16, 2008 03:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.