Hello,
I had a problem last week and last month and i'm pretty sure that will happen again... so i want definitely solve it.
My site is made in PHP and MySql, 99% i use mysql_connect,mysql_query.... and to be honest, 85% of the time in DON'T CLOSE my connexion.. because it suppose closing by itseft at the end of the script.
In my useronline... i dont see any change... so it seems to be constant...
and last month ans last friday, i try to visite my site and i got a white page with only TOO MANY CONNEXION..... so i call the support i they restart my server....
since fiew week, i thought to change mysql_ to mysqli_... because it offer better performance and advantage...
So is that is a good idea to change mysql to mysqli?
Also, i think that will not solve my TOO MANY CONNEXION message, so is it true that all connexion are close a the end of the script for mysql_?
Do you have any suggest to me?
thanks
Pascal