<?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>Iacob Ionut - Freelance Website Design &#187; database</title>
	<atom:link href="http://iacobionut.com/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://iacobionut.com</link>
	<description></description>
	<lastBuildDate>Sat, 12 Jun 2010 07:48:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress How-To : Exporting / Importing a Wordpress Database</title>
		<link>http://iacobionut.com/wordpress-how-to-exporting-importing-a-wordpress-database/</link>
		<comments>http://iacobionut.com/wordpress-how-to-exporting-importing-a-wordpress-database/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 13:22:28 +0000</pubDate>
		<dc:creator>Iacob Ionut</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://iacobionut.com/?p=399</guid>
		<description><![CDATA[When working on a project , I usually install Wordpress on my local server (WAMP on a PC) and after I&#8217;m done developing the theme , I export the database to the client&#8217;s server.This is a pretty easy process and this is how you do it.
1. Exporting the database &#8211; Phpmyadmin
Enter Phpmyadmin and select your [...]]]></description>
			<content:encoded><![CDATA[<p>When working on a project , I usually install Wordpress on my local server (WAMP on a PC) and after I&#8217;m done developing the theme , I export the database to the client&#8217;s server.This is a pretty easy process and this is how you do it.</p>
<h3>1. Exporting the database &#8211; Phpmyadmin</h3>
<p>Enter Phpmyadmin and select your database.<br />
<span id="more-399"></span><br />
<a id="single_1" href="http://iacobionut.com/wp-content/uploads/2009/07/1-1.jpg"><img class="alignnone size-full wp-image-400" title="WP database" src="http://iacobionut.com/wp-content/uploads/2009/07/1-1.jpg" alt="" width="500" height="146"  /></a></p>
<p>Select the Export tab</p>
<p>Tick Add DROP TABLE/VIEW/PROCEDURE/FUNCTION . Make sure all the tables and SQL are selected . Tick &#8220;Save as file&#8221; . Click &#8220;GO&#8221; and you&#8217;re done with the first part.</p>
<p><a href="http://iacobionut.com/wp-content/uploads/2009/07/2.jpg" rel="lightbox"><img class="alignnone size-full wp-image-403" title="Export DB" src="http://iacobionut.com/wp-content/uploads/2009/07/2.jpg" alt="" width="500" height="356" /></a></p>
<p>Open the file (*.sql) with Notepad (or any other text editor) . Replace all local URLs ( http://localhost ) with you new domain name (e.g. http://www.mysite.com ). After you&#8217;re done , save the file.</p>
<h3>2. Upload the Wordpress folder to your server</h3>
<p><a href="http://iacobionut.com/wp-content/uploads/2009/07/3.jpg" rel="lightbox"><img src="http://iacobionut.com/wp-content/uploads/2009/07/3.jpg" alt="" title="Wordpress" width="500" height="356" class="alignnone size-full wp-image-407" /></a></p>
<h3>3. Importing the database</h3>
<p>Log in to Phpmyadmin on your server and select the Import Tab. Click Browse , select the database file (*.sql) from your HDD and click GO.</p>
<p><a href="http://iacobionut.com/wp-content/uploads/2009/07/4.jpg" rel="lightbox"><img src="http://iacobionut.com/wp-content/uploads/2009/07/4.jpg" alt="" title="Import DB" width="500" height="356" class="alignnone size-full wp-image-408" /></a></p>
<h3>4. Changing WP Settings</h3>
<p>Edit wp-config.php and change these following lines.</p>
<p><a href="http://iacobionut.com/wp-content/uploads/2009/07/5.jpg" rel="lightbox"><img src="http://iacobionut.com/wp-content/uploads/2009/07/5.jpg" alt="" title="wp-config" width="500" height="116" class="alignnone size-full wp-image-409" /></a></p>
<p>Done.</p>
<h2>Problems you may encounter .</h2>
<p>One problem I found after I imported the database was that I couldn&#8217;t upload images from the Dashboard to the &#8220;Upload&#8221; folder. To solve this , log in to phpmyadmin on your server. Select the newly imported database .<br />
Select the wp_options table and click Browse.<br />
<a href="http://iacobionut.com/wp-content/uploads/2009/07/6.jpg" rel="lightbox"><img src="http://iacobionut.com/wp-content/uploads/2009/07/6.jpg" alt="" title="WP DB" width="500" height="356" class="alignnone size-full wp-image-411" /></a></p>
<p>Search for the option_name called upload_path (I found it on the second page)</p>
<p><a href="http://iacobionut.com/wp-content/uploads/2009/07/7.jpg" rel="lightbox"><img src="http://iacobionut.com/wp-content/uploads/2009/07/7.jpg" alt="" title="wp-options" width="500" height="88" class="alignnone size-full wp-image-412" /></a></p>
<p>Select it and click Change (the little Pencil icon)</p>
<p>Enter the Full path to your &#8220;Uploads&#8221; folder and click GO.</p>
<p><a href="http://iacobionut.com/wp-content/uploads/2009/07/8.jpg" rel="lightbox"><img src="http://iacobionut.com/wp-content/uploads/2009/07/8.jpg" alt="" title="Edit wp-options" width="500" height="228" class="alignnone size-full wp-image-413" /></a></p>
<p>And you&#8217;re done.</p>
]]></content:encoded>
			<wfw:commentRss>http://iacobionut.com/wordpress-how-to-exporting-importing-a-wordpress-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
