Occasionally when I access my website, I got this error message--
MySQL Connection Failed: Too many connections
My website is hosted by jumpline.com. MySQL and PHP3 are used. I don't know what webserver they use.
I've made a search on this subject. I found two threads in this forum relevant:
<!-- m --><a class="postlink" href="http://www.phpbuilder.com/forum/read.php3?num=1&id=106315&loc=0&thread=106315">http://www.phpbuilder.com/forum/read.ph ... ead=106315</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.phpbuilder.com/forum/read.php3?num=5&id=4925&loc=0&thread=4925">http://www.phpbuilder.com/forum/read.ph ... hread=4925</a><!-- m -->
One of the replies mentioned it was because that the max_connections of clients was reached. And he suggested raising the number. But given a certain quote of connections, will closing the connection at the end of each script helps? Hope we can get a definitive answer for this.
Many thanks.
Zhuo
MySQL Connection Failed: Too many connections
My website is hosted by jumpline.com. MySQL and PHP3 are used. I don't know what webserver they use.
I've made a search on this subject. I found two threads in this forum relevant:
<!-- m --><a class="postlink" href="http://www.phpbuilder.com/forum/read.php3?num=1&id=106315&loc=0&thread=106315">http://www.phpbuilder.com/forum/read.ph ... ead=106315</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.phpbuilder.com/forum/read.php3?num=5&id=4925&loc=0&thread=4925">http://www.phpbuilder.com/forum/read.ph ... hread=4925</a><!-- m -->
One of the replies mentioned it was because that the max_connections of clients was reached. And he suggested raising the number. But given a certain quote of connections, will closing the connection at the end of each script helps? Hope we can get a definitive answer for this.
Many thanks.
Zhuo