<?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>David Pratt &#187; phpmyadmin</title> <atom:link href="http://daipratt.co.uk/tag/phpmyadmin/feed/" rel="self" type="application/rss+xml" /><link>http://daipratt.co.uk</link> <description>Concerned about Website Construction &#38; SEO</description> <lastBuildDate>Wed, 25 Jan 2012 07:16:58 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.4</generator> <item><title>Importing large files into mysql with phpmyadmin</title><link>http://daipratt.co.uk/importing-large-files-into-mysql-with-phpmyadmin/</link> <comments>http://daipratt.co.uk/importing-large-files-into-mysql-with-phpmyadmin/#comments</comments> <pubDate>Mon, 18 Jan 2010 12:55:15 +0000</pubDate> <dc:creator>David Pratt</dc:creator> <category><![CDATA[Tech]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[phpmyadmin]]></category> <guid
isPermaLink="false">http://daipratt.co.uk/?p=1015</guid> <description><![CDATA[A tutorial that explains the steps you need to take in order to import large (2Mb+) SQL files into phpmyadmin]]></description> <content:encoded><![CDATA[<p>I&#8217;m writing this here because it&#8217;s the third time I&#8217;ve had this problem, and the third time I&#8217;ve forgotten how to fix it! If you ever get hit with the error message:</p><div
id="attachment_1018" class="wp-caption alignnone" style="width: 509px"><a
href="http://daipratt.co.uk/wp-content/uploads/2010/01/phpmyadmin.png"><img
src="http://daipratt.co.uk/wp-content/uploads/2010/01/phpmyadmin.png" alt="Phpmyadmin error message" title="phpmyadmin" width="499" height="70" class="size-full wp-image-1018" /></a><p
class="wp-caption-text">“You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.”</p></div><p>When trying to import large SQL files into mysql using phpmyadmin, the <a
href="http://localhost/phpmyadmin/Documentation.html#faq1_16">phpmyadmin documentation</a> offers a few solutions, but I find the easiest method to overcome this is&#8230;</p><p>Find the <i>config.inc.php</i> file located in the phpmyadmin directory. In my case it is located here:</p><pre class="brush: plain">
C:\wamp\apps\phpmyadmin3.2.0.1\config.inc.php
</pre><p>Find the line with <i>$cfg['UploadDir']</i> on it and update it to:</p><pre class="brush: php">
$cfg['UploadDir'] = 'upload';
</pre><p>Create a directory called &#8216;upload&#8217; within the phpmyadmin directory.</p><pre class="brush: plain">
C:\wamp\apps\phpmyadmin3.2.0.1\upload\
</pre><p>Then place the large sql file that you are trying to import into the new upload directory. Now when you go onto the db import page within phpmyadmin console you will notice a drop down present that wasn&#8217;t there before &#8211; it contains all of the sql files in the upload directory that you have just created.  You can now select this and begin the import.</p><p>If you&#8217;re not using WAMP on Windows, then I&#8217;m sure you&#8217;ll be able to adapt this to your environment without too much trouble.</p> ]]></content:encoded> <wfw:commentRss>http://daipratt.co.uk/importing-large-files-into-mysql-with-phpmyadmin/feed/</wfw:commentRss> <slash:comments>75</slash:comments> </item> </channel> </rss>
