<?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>Helm&#039;s Technology Blog &#187; Mysql</title>
	<atom:link href="http://www.ihelm.org.uk/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ihelm.org.uk</link>
	<description>Linux Servers, Cpanel and Mysql along with my own tech thoughts</description>
	<lastBuildDate>Sun, 05 Sep 2010 10:50:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Mysql Error: Error 13 &#8211; Can&#8217;t get stat of</title>
		<link>http://www.ihelm.org.uk/2007/09/mysql-error-error-13-cant-get-stat-of/</link>
		<comments>http://www.ihelm.org.uk/2007/09/mysql-error-error-13-cant-get-stat-of/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 21:13:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[CSV]]></category>
		<category><![CDATA[Load Data Infile]]></category>
		<category><![CDATA[Mysql Error]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=18</guid>
		<description><![CDATA[Error of the day this one - had a script which used Load Data Infile to load the data from a csv file to a MySQL database table - worked fine previously.
After 6 months needed to use it again - everyting seemed fine, except this error kept appearing.

Checked the script - file existed etc... so what had changed?]]></description>
			<content:encoded><![CDATA[<p>Error of the day this one &#8211; had a script which used Load Data Infile to load the data from a csv file to a MySQL database table &#8211; worked fine previously.<br />
After 6 months needed to use it again &#8211; everyting seemed fine, except this error kept appearing.</p>
<p>Checked the script &#8211; file existed etc&#8230; so what had changed?<br />
We had separated out our servers a few months earlier so Mysql now runs on a separate server, this means load data infile can no longer find the file.</p>
<p>To solve this problem use Load Data Local Infile &#8211; basically this uses the client (which in this case exists on a server running php) to access the file and pipe it to the mysql server.</p>
<p>The annoying thing about this error is that finding the solution isn&#8217;t that easy &#8211; as most people say that it&#8217;s file permissions etc.. when it could be that the SQL server is actually on a remote location and so you need to use LOAD DATA LOCAL INFILE (especially since in larger companies servers tend to be specialised).</p>
<p>NB Due to security settings you cannot usually use LOAD DATA LOCAL INFILE if the file is on the same server as the mysql &#8211; then you need to use LOAD DATA INFILE.</p>
<p>Anyway hope this helps someone else like me someday.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2007/09/mysql-error-error-13-cant-get-stat-of/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->