<?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>phpMyAdmin Archives - The Code Developer</title>
	<atom:link href="https://www.thecodedeveloper.com/category/phpmyadmin/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.thecodedeveloper.com/category/phpmyadmin/</link>
	<description>The Code Developer is a Programming Blog.</description>
	<lastBuildDate>Sun, 20 Jan 2019 15:45:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>How to import large sql file in XAMPP ?</title>
		<link>https://www.thecodedeveloper.com/import-large-sql-files-xampp/</link>
					<comments>https://www.thecodedeveloper.com/import-large-sql-files-xampp/#comments</comments>
		
		<dc:creator><![CDATA[Vikas Kumar]]></dc:creator>
		<pubDate>Tue, 03 Jan 2017 17:05:15 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[XAMPP]]></category>
		<guid isPermaLink="false">http://www.thecodedeveloper.com/?p=823</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="750" height="422" src="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-750x422.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="import large sql file" decoding="async" fetchpriority="high" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-750x422.jpg 750w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-442x249.jpg 442w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-768x433.jpg 768w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-1024x577.jpg 1024w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-360x202.jpg 360w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-1140x641.jpg 1140w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data.jpg 1280w" sizes="(max-width: 750px) 100vw, 750px" /></div>
<p>When you have large SQL file and you want to import existing data from other installation or from host.  First you need to export the data. But sometime we may face such a situation, <strong>import large sql file in XAMPP.</strong></p>
<p>The post <a href="https://www.thecodedeveloper.com/import-large-sql-files-xampp/">How to import large sql file in XAMPP ?</a> appeared first on <a href="https://www.thecodedeveloper.com">The Code Developer</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="750" height="422" src="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-750x422.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="import large sql file" decoding="async" loading="lazy" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-750x422.jpg 750w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-442x249.jpg 442w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-768x433.jpg 768w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-1024x577.jpg 1024w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-360x202.jpg 360w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data-1140x641.jpg 1140w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/big_data.jpg 1280w" sizes="auto, (max-width: 750px) 100vw, 750px" /></div><p>When you have large SQL file and you want to import existing data from other installation or from host.  First you need to export the data. But sometime we may face such a situation, <strong>import large sql file in XAMPP.</strong></p>
<h2>In this article you will learn how to import large sql file with the command prompt in XAMPP for Windows.</h2>
<p>We will use <strong>Command-Line Tools (Shell)</strong> to <strong>import large database SQL file.</strong></p>
<p>Import mysql db using command line is very simple statements, effective and fast compare to importing huge database from phpmyadmin. There are one more advantage using this method the default mysql db upload file size is doesn’t a matter using Command-Line Tools (Shell).</p>
<h3>#1. Open the XAMPP Control Panel</h3>
<p>Make sure Apache and MySQL are running and click the Shell button in the XAMPP Control Panel.</p>
<p><a href="https://www.thecodedeveloper.com/import-large-sql-files-xampp/xampp-control-panel-2/" rel="attachment wp-att-836"><img decoding="async" class="aligncenter size-full wp-image-836" src="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/xampp-control-panel-1.png" alt="xampp control panel" width="671" height="435" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/xampp-control-panel-1.png 671w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/xampp-control-panel-1-442x287.png 442w" sizes="(max-width: 671px) 100vw, 671px" /></a></p>
<h3>#2. To import database, use the following command</h3>
<pre class="brush: php; title: ; notranslate">
mysql -u username -p database_name &lt; &quot;/path/file.sql&quot;
</pre>
<p>Where:</p>
<ul>
<li>username       &#8211; your MySQL username. e.g. root</li>
<li>database_name  &#8211; database name you are importing to</li>
<li>/path/file.sql &#8211; full path to your .sql file</li>
</ul>
<p>when you haven’t created a MySQL username. In that case, you need to type <strong>“root”</strong> for the username. </p>
<p><strong>Note: </strong>On the below screen command, you will define own define own database name. The database name will be the one that you created in the phpMyAdmin and would like to import to SQL file. In our case, we have database name &#8220;the_code_developer&#8221;.</p>
<p><a href="https://www.thecodedeveloper.com/import-large-sql-files-xampp/command_prompt/" rel="attachment wp-att-1753"><img decoding="async" src="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/command_prompt.png" alt="command prompt" width="980" height="234" class="aligncenter size-full wp-image-1753" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/command_prompt.png 980w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/command_prompt-442x106.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/command_prompt-768x183.png 768w" sizes="(max-width: 980px) 100vw, 980px" /></a></p>
<p>Enter password: (leave it blank, it&#8217;s not set by default) and click enter to continue process.</p>
<p><a href="https://www.thecodedeveloper.com/import-large-sql-files-xampp/command_prompt_enter_password/" rel="attachment wp-att-1754"><img loading="lazy" decoding="async" src="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/command_prompt_enter_password.png" alt="command prompt enter password" width="981" height="235" class="aligncenter size-full wp-image-1754" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/command_prompt_enter_password.png 981w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/command_prompt_enter_password-442x106.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/command_prompt_enter_password-768x184.png 768w" sizes="auto, (max-width: 981px) 100vw, 981px" /></a></p>
<h3>#3. If you want to see import process to screen then use the following command</h3>
<pre class="brush: php; title: ; notranslate">
mysql -u username -p -v database_name &lt; &quot;/path/file.sql&quot;
</pre>
<p><a href="https://www.thecodedeveloper.com/import-large-sql-files-xampp/command_prompt_with_output/" rel="attachment wp-att-1755"><img loading="lazy" decoding="async" src="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/command_prompt_with_output.png" alt="command prompt with output" width="982" height="236" class="aligncenter size-full wp-image-1755" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/command_prompt_with_output.png 982w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/command_prompt_with_output-442x106.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/command_prompt_with_output-768x185.png 768w" sizes="auto, (max-width: 982px) 100vw, 982px" /></a></p>
<p>Once your database SQL file successfully import then you will get following response like in the below image.</p>
<p><a href="https://www.thecodedeveloper.com/import-large-sql-files-xampp/successfully_response/" rel="attachment wp-att-1756"><img loading="lazy" decoding="async" src="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/successfully_response.png" alt="successfully response" width="980" height="376" class="aligncenter size-full wp-image-1756" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2017/01/successfully_response.png 980w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/successfully_response-442x170.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2017/01/successfully_response-768x295.png 768w" sizes="auto, (max-width: 980px) 100vw, 980px" /></a></p>
<p>The post <a href="https://www.thecodedeveloper.com/import-large-sql-files-xampp/">How to import large sql file in XAMPP ?</a> appeared first on <a href="https://www.thecodedeveloper.com">The Code Developer</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thecodedeveloper.com/import-large-sql-files-xampp/feed/</wfw:commentRss>
			<slash:comments>19</slash:comments>
		
		
			</item>
	</channel>
</rss>
