mysql_connect or mysql_pconnect or DEATH ???
| From: | Marian Vasile | Date: | Tue, 06 Mar 2001 10:21:34 +0000 |
| Subject: | mysql_connect or mysql_pconnect or DEATH ??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42731@lists.php.net to get a copy of this message | ||
I have a chat software working on www.jumatateata.ro
The problem is that all the time I get mysql sessions opened and I don't
understand.
I used mysql_connect (at the beggining of every script) and mysql_close in
the end.
The ISP told me that still remain mysql sessions opened.
Then I used mysql_pconnect and again, too many sessions opened.
What makes everything hard is that I don't have telnet acces so this is my
next question:
How I can see mysql sessions opened just using a php script ? Can I ?
(I'm asking this because I was thinking that I can write a php script to
show me the sessions.=)
Do you have any idea about this ?
I'm really interested to find out...
Thanx a lot...
Marian Vasile
IT Manager
Schnecker van Wyk & Pearson
www.investments.ro