Guest_imported
New member
- Jan 1, 1970
- 0
People, please help me! I wrote CJ script on php with mysql. I use mysql_connect for open mysql connection and mysql_close to close connection. When my traffic becomes more then 5k php script does not close all the mysql connections. I use mysqladmin processlist command to check it out. Neither I nor my host staff do not know what to do.
According to php manual: "Using mysql_close() isn’t usually necessary, as non-persistent open links are automatically closed at the end of the script’s
execution." This means that mysql connection should be closed anyway. Please help me to found out why many mysqlconnections stay alive when the traffic is increases.
It is the dead-end for me.
Andy
According to php manual: "Using mysql_close() isn’t usually necessary, as non-persistent open links are automatically closed at the end of the script’s
execution." This means that mysql connection should be closed anyway. Please help me to found out why many mysqlconnections stay alive when the traffic is increases.
It is the dead-end for me.
Andy