<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Vbulletin, max_user_connections setting, persistent MYSQL connections and too many open mySQL connections</title>
	<atom:link href="http://www.logician.org/10-vbulletin-max_user_connections-setting-persistent-mysql-connections-and-too-many-open-mysql-connections/feed" rel="self" type="application/rss+xml" />
	<link>http://www.logician.org/10-vbulletin-max_user_connections-setting-persistent-mysql-connections-and-too-many-open-mysql-connections</link>
	<description>Logician's Blog</description>
	<lastBuildDate>Wed, 07 Apr 2010 13:42:59 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Eslam</title>
		<link>http://www.logician.org/10-vbulletin-max_user_connections-setting-persistent-mysql-connections-and-too-many-open-mysql-connections/comment-page-1#comment-23</link>
		<dc:creator>Eslam</dc:creator>
		<pubDate>Thu, 02 Apr 2009 17:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.logician.org/?p=10#comment-23</guid>
		<description>hey
i have the same problem
i use vbulletin and alaways my web hosting tell me that i have many connections
====
plz i want i asolution for that</description>
		<content:encoded><![CDATA[<p>hey<br />
i have the same problem<br />
i use vbulletin and alaways my web hosting tell me that i have many connections<br />
====<br />
plz i want i asolution for that</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norman</title>
		<link>http://www.logician.org/10-vbulletin-max_user_connections-setting-persistent-mysql-connections-and-too-many-open-mysql-connections/comment-page-1#comment-16</link>
		<dc:creator>Norman</dc:creator>
		<pubDate>Sat, 19 Jul 2008 18:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.logician.org/?p=10#comment-16</guid>
		<description>Yup, great article. Thanks for sharing this informations.</description>
		<content:encoded><![CDATA[<p>Yup, great article. Thanks for sharing this informations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hukuki net</title>
		<link>http://www.logician.org/10-vbulletin-max_user_connections-setting-persistent-mysql-connections-and-too-many-open-mysql-connections/comment-page-1#comment-13</link>
		<dc:creator>Hukuki net</dc:creator>
		<pubDate>Sat, 07 Jun 2008 21:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.logician.org/?p=10#comment-13</guid>
		<description>Thanks for the great article...

A solution that I use:
You can use random mysql connections...

At vbulletin config.php instead of :
$config[&#039;MasterServer&#039;][&#039;username&#039;] = &#039;uname&#039;;
$config[&#039;MasterServer&#039;][&#039;password&#039;] = &#039;pass&#039;;  

Random mysql users code (three mysql users example):
$dbusers = array(
array(&#039;user&#039; =&gt; &#039;mysqluser1&#039;, &#039;password&#039; =&gt; &#039;pass1&#039;) // First MySQL user/password combination
, array(&#039;user&#039; =&gt; &#039;mysqluser2&#039;, &#039;password&#039; =&gt; &#039;pass2&#039;) // Second MySQL user/password combination
, array(&#039;user&#039; =&gt; &#039;mysqluser3&#039;, &#039;password&#039; =&gt; &#039;pass3&#039;) // Third MySQL user/password combination
);
$mysql_user = $dbusers[rand(0, count($dbusers) - 1)];
$config[&#039;MasterServer&#039;][&#039;username&#039;] = $mysql_user[&#039;user&#039;];
$config[&#039;MasterServer&#039;][&#039;password&#039;] = $mysql_user[&#039;password&#039;];</description>
		<content:encoded><![CDATA[<p>Thanks for the great article&#8230;</p>
<p>A solution that I use:<br />
You can use random mysql connections&#8230;</p>
<p>At vbulletin config.php instead of :<br />
$config['MasterServer']['username'] = &#8216;uname&#8217;;<br />
$config['MasterServer']['password'] = &#8216;pass&#8217;;  </p>
<p>Random mysql users code (three mysql users example):<br />
$dbusers = array(<br />
array(&#8217;user&#8217; =&gt; &#8216;mysqluser1&#8242;, &#8216;password&#8217; =&gt; &#8216;pass1&#8242;) // First MySQL user/password combination<br />
, array(&#8217;user&#8217; =&gt; &#8216;mysqluser2&#8242;, &#8216;password&#8217; =&gt; &#8216;pass2&#8242;) // Second MySQL user/password combination<br />
, array(&#8217;user&#8217; =&gt; &#8216;mysqluser3&#8242;, &#8216;password&#8217; =&gt; &#8216;pass3&#8242;) // Third MySQL user/password combination<br />
);<br />
$mysql_user = $dbusers[rand(0, count($dbusers) - 1)];<br />
$config['MasterServer']['username'] = $mysql_user['user'];<br />
$config['MasterServer']['password'] = $mysql_user['password'];</p>
]]></content:encoded>
	</item>
</channel>
</rss>
