<?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: How To Fix Intermittent MySQL Errcode 13 Errors On Windows</title>
	<atom:link href="http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/</link>
	<description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description>
	<lastBuildDate>Sat, 31 Jul 2010 04:32:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Chris webb</title>
		<link>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-30479</link>
		<dc:creator>Chris webb</dc:creator>
		<pubDate>Tue, 12 Jan 2010 11:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-30479</guid>
		<description>Thanks for sharing this really useful article; I have had a similar problem in the last few weeks.</description>
		<content:encoded><![CDATA[<p>Thanks for sharing this really useful article; I have had a similar problem in the last few weeks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: S</title>
		<link>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-30025</link>
		<dc:creator>S</dc:creator>
		<pubDate>Wed, 06 Jan 2010 06:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-30025</guid>
		<description>Artem,
You don&#039;t need an AV. Create a limited guest account for all your work sans sysadmin tasks, and use your Administrator account for the latter. If you really need Administrator rights, you can &quot;Run as Administrator&quot; (right-click). Use cygwin for file permissions.
Xampp is *way* better than Wampserver. I could not use xdebug with the latter.
S</description>
		<content:encoded><![CDATA[<p>Artem,</p>
<p>You don&#039;t need an AV. Create a limited guest account for all your work sans sysadmin tasks, and use your Administrator account for the latter. If you really need Administrator rights, you can &#034;Run as Administrator&#034; (right-click). Use cygwin for file permissions.</p>
<p>Xampp is *way* better than Wampserver. I could not use xdebug with the latter.</p>
<p>S</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artem Russakovskii</title>
		<link>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-30014</link>
		<dc:creator>Artem Russakovskii</dc:creator>
		<pubDate>Wed, 06 Jan 2010 02:56:53 +0000</pubDate>
		<guid isPermaLink="false">http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-30014</guid>
		<description>Thanks for the details, Vlad. Perhaps someone from MS will see this and raise as an issue.</description>
		<content:encoded><![CDATA[<p>Thanks for the details, Vlad. Perhaps someone from MS will see this and raise as an issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladislav Vaintroub</title>
		<link>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-30013</link>
		<dc:creator>Vladislav Vaintroub</dc:creator>
		<pubDate>Wed, 06 Jan 2010 02:52:07 +0000</pubDate>
		<guid isPermaLink="false">http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-30013</guid>
		<description>Windows has something called file sharing mode, which is documented in CreateFile. When opening a file, one specifies desired access (read,write, delete and there is a bunch of others like &quot;read attributes&quot;) and file sharing mode (combination of FILE_SHARE_READ,FILE_SHARE_WRITE or FILE_SHARE_DELETE). when file is removed it is opened with desired access=&quot;read attributes + delete&quot;, sharing mode =read,write,delete sets DELETE_ON_CLOSE flag and closes the file.
So, if AV would open the file with FILE_SHARE_DELETE it would be possible to delete it even if AV still has it opened, though the file would not completely disappear from the file system  until the last handle to it is closed, i.e until AV closes the file.
I think Microsft would know this already :)</description>
		<content:encoded><![CDATA[<p>Windows has something called file sharing mode, which is documented in CreateFile. When opening a file, one specifies desired access (read,write, delete and there is a bunch of others like &#034;read attributes&#034;) and file sharing mode (combination of FILE_SHARE_READ,FILE_SHARE_WRITE or FILE_SHARE_DELETE). when file is removed it is opened with desired access=&#034;read attributes + delete&#034;, sharing mode =read,write,delete sets DELETE_ON_CLOSE flag and closes the file.</p>
<p>So, if AV would open the file with FILE_SHARE_DELETE it would be possible to delete it even if AV still has it opened, though the file would not completely disappear from the file system  until the last handle to it is closed, i.e until AV closes the file.</p>
<p>I think Microsft would know this already <img src='http://beerpla.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artem Russakovskii</title>
		<link>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-30004</link>
		<dc:creator>Artem Russakovskii</dc:creator>
		<pubDate>Wed, 06 Jan 2010 00:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-30004</guid>
		<description>Vladislav, I don&#039;t know enough about Windows internals to be able to tell if there&#039;s a way to do a file lock without locking it from being deleted. Maybe you could tell us (and Microsoft, and McAfee :-] )</description>
		<content:encoded><![CDATA[<p>Vladislav, I don&#039;t know enough about Windows internals to be able to tell if there&#039;s a way to do a file lock without locking it from being deleted. Maybe you could tell us (and Microsoft, and McAfee :-] )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladislav Vaintroub</title>
		<link>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-30003</link>
		<dc:creator>Vladislav Vaintroub</dc:creator>
		<pubDate>Tue, 05 Jan 2010 23:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-30003</guid>
		<description>Well, in the described case MySQL is trying to delete the file, and I would expect AV to be smart enough and not block opening for deletion - a removed file can impossibly spread the virus:)</description>
		<content:encoded><![CDATA[<p>Well, in the described case MySQL is trying to delete the file, and I would expect AV to be smart enough and not block opening for deletion &#8211; a removed file can impossibly spread the virus:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lachlan Mulcahy</title>
		<link>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-29984</link>
		<dc:creator>Lachlan Mulcahy</dc:creator>
		<pubDate>Tue, 05 Jan 2010 18:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-29984</guid>
		<description>@ColdMan: It is generally recommended process to set all AV to skip over MySQL database files. If they aren&#039;t causing problems with locking like this then they can cause issues with performance.
I&#039;d suggest skipping scanning of your entire datadir and all *.frm, *.MYI, *.MYD and *.ibd files in your MySQL temp dir.
If your server is dedicated to MySQL use, then the risk of introducing a virus to the system is greatly reduced anyhow.</description>
		<content:encoded><![CDATA[<p>@ColdMan: It is generally recommended process to set all AV to skip over MySQL database files. If they aren&#039;t causing problems with locking like this then they can cause issues with performance.</p>
<p>I&#039;d suggest skipping scanning of your entire datadir and all *.frm, *.MYI, *.MYD and *.ibd files in your MySQL temp dir.</p>
<p>If your server is dedicated to MySQL use, then the risk of introducing a virus to the system is greatly reduced anyhow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artem Russakovskii</title>
		<link>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-29981</link>
		<dc:creator>Artem Russakovskii</dc:creator>
		<pubDate>Tue, 05 Jan 2010 17:03:58 +0000</pubDate>
		<guid isPermaLink="false">http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-29981</guid>
		<description>I am not sure, but my guess is it happens with the ones that lock the file until it&#039;s been checked, to avoid spreading the infection in case it IS a virus. Hopefully, most of that actually do that.</description>
		<content:encoded><![CDATA[<p>I am not sure, but my guess is it happens with the ones that lock the file until it&#039;s been checked, to avoid spreading the infection in case it IS a virus. Hopefully, most of that actually do that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ColdMan</title>
		<link>http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-29966</link>
		<dc:creator>ColdMan</dc:creator>
		<pubDate>Tue, 05 Jan 2010 11:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://beerpla.net/2010/01/05/how-to-fix-intermittent-mysql-errcode-13-errors-on-windows/#comment-29966</guid>
		<description>I wonder if this problem happens with all antiviruses or just some. In other words can the bad ones do something to fix it or it won&#039;t be possible without mysql&#039;s own changes...</description>
		<content:encoded><![CDATA[<p>I wonder if this problem happens with all antiviruses or just some. In other words can the bad ones do something to fix it or it won&#039;t be possible without mysql&#039;s own changes&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
