<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>leinadium &#187; settings</title>
	<atom:link href="http://www.leinadium.com/tag/settings/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leinadium.com</link>
	<description>Techhead. Codewarrior. Legalnerd.</description>
	<lastBuildDate>Fri, 02 Sep 2011 20:09:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>mysql iis asp and the crazies</title>
		<link>http://www.leinadium.com/code/mysql-iis-asp-and-the-crazies/</link>
		<comments>http://www.leinadium.com/code/mysql-iis-asp-and-the-crazies/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 10:42:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[settings]]></category>

		<guid isPermaLink="false">http://217.11.59.22/leinadium/?p=3</guid>
		<description><![CDATA[It&#8217;s been a long time coming. Here are the error messages of the last two months on Windows IIS6 using ASP 3.0: The ominous asp error -2147467259: [MySQL][ODBC 3.51 Driver]Can&#8217;t create TCP/IP socket (10038) [MySQL][ODBC 5.1 Driver]Can&#8217;t create TCP/IP socket (10038) [MySQL][ODBC 3.51 Driver][mysqld-5.0.44-log]MySQL server has gone away Searching for this error on google and [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a long time coming.<br />
Here are the error messages of the last two months on Windows IIS6 using ASP 3.0:<br />
The ominous asp error -2147467259:<br />
[<strong style="color: black; background-color: #ffff66;">MySQL</strong>][ODBC 3.51 Driver]<strong style="color: black; background-color: #a0ffff;">Can&#8217;t</strong> <strong style="color: black; background-color: #99ff99;">create</strong> <strong style="color: black; background-color: #ff9999;">TCP/IP</strong> <strong style="color: black; background-color: #ff66ff;">socket</strong> (<strong style="color: white; background-color: #880000;">10038</strong>)<br />
[<strong style="color: black; background-color: #ffff66;">MySQL</strong>][ODBC 5.1 Driver]<strong style="color: black; background-color: #a0ffff;">Can&#8217;t</strong> <strong style="color: black; background-color: #99ff99;">create</strong> <strong style="color: black; background-color: #ff9999;">TCP/IP</strong> <strong style="color: black; background-color: #ff66ff;">socket</strong> (<strong style="color: white; background-color: #880000;">10038</strong>)<br />
[<strong style="color: black; background-color: #ffff66;">MySQL</strong>][ODBC 3.51 Driver][mysqld-5.0.44-log]<strong style="color: black; background-color: #ffff66;">MySQL</strong> server has gone away</p>
<p>Searching for this error on google and <strong style="color: black; background-color: #ffff66;">mysql</strong>.com would yield results that ranged from other helpless users asking the same question, to <strong style="color: black; background-color: #ffff66;">mysql</strong> admins posting that this is not actually a bug and there&#8217;s nothing they can do.</p>
<p>This error would occur sporadically, usually under heavy load and would return relentlessly. Nothing would help!<br />
We tried all the suggestions from various sources (too many to list now), including debugging iis, windows, cleaning up after all connections to the database, mdac updates, <strong style="color: black; background-color: #ff9999;">tcp/ip</strong> ephemeral port range of windows increase, tweaking the registry, etc&#8230;</p>
<p>Feeling there&#8217;s nothing we could do on the web server platform, we moved on to the db servers (<strong style="color: black; background-color: #ffff66;">mysql</strong> servers 5.x running on debian).<br />
Here we got errors like the following:</p>
<p>Aborted connection 887 to db: &#8216;abc&#8217; user:<br />
&#8216;abc&#8217; host: &#8217;123.456.789.123&#8242; (Got an error reading communication<br />
packets)</p>
<p>We tried all the fitting suggestion on<a href="http://dev.mysql.com/doc/refman/5.1/en/%20communication-errors.html"> http://dev.<strong style="color: black; background-color: #ffff66;">mysql</strong>.com/doc/refman/5.1/en/<br />
communication-errors.html</a> without a proper result.<br />
The error returned again and again.<br />
After tweaking several <strong style="color: black; background-color: #ffff66;">mysql</strong> config variables we finally came upon a little noticed post on:<br />
<a href="http://themattreid.com/wordpress/?p=15">http://themattreid.com/wordpress/?p=15</a></p>
<p>Thank you matt reid!<br />
Increasing the max_allowed_packet from 8MB to 64 MB did the trick.<br />
Time to celebrate.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leinadium.com/code/mysql-iis-asp-and-the-crazies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

