Mike Yuen writes:
> Is there anyway to tell how many connections are currently being served by
> MySQL. I'm using this in combination with PHP. Also, does MySQL
> automatically shut down when you leave the page? I'm not using
> mysql_pconnect - just the regular mysql_connect.
Hi!
You are prob
ps -ef|grep -c mysql
Subtract 3 from this as this is the default number of daemons that
start. One is spawned for each new child.
Yes, if the php script terminates, the mysql child will also terminate.
This is not the behaviour with persistant connections though. Please
move this over to the php
Is there anyway to tell how many connections are currently being served by
MySQL. I'm using this in combination with PHP. Also, does MySQL
automatically shut down when you leave the page? I'm not using
mysql_pconnect - just the regular mysql_connect.
Thanks,
Mike
---