Re: PHP and MySQL combo

2001-01-19 Thread Matt Wagner
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

Re: PHP and MySQL combo

2001-01-19 Thread Richard Ellerbrock
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

PHP and MySQL combo

2001-01-18 Thread Mike Yuen
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 ---