How can i see how many mysql connections are opend ?
- by Sahal
How can i see how many number of connections are opened in one request. (mysql_connect)
I know that if i call mysql_connect function 100 times, function will return the connection link which is already opened only if parameters of the function is same. It will not request for new connection if connection is already exists.
But i just want to make sure mysql_connect is not requesting new.
I am working with a legacy system which contains so many "mysql_connect" function.
Is there any setting in apache or is there any way i can log this number of connection value in apache or mysql log file?
Please help.