<?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>WordPress Hacks &#187; Moving Database</title>
	<atom:link href="http://wphacks.com/tag/moving-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://wphacks.com</link>
	<description>WordPress Themes, Plugins, Hacks, Tutorials, and more!</description>
	<lastBuildDate>Thu, 02 Feb 2012 15:20:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How To: Update Your WordPress Database Name</title>
		<link>http://wphacks.com/how-to-update-your-wordpress-database/</link>
		<comments>http://wphacks.com/how-to-update-your-wordpress-database/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 09:00:14 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Moving Database]]></category>
		<category><![CDATA[WordPress Database]]></category>
		<category><![CDATA[WordPress Server]]></category>
		<category><![CDATA[wp-config.php]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1825</guid>
		<description><![CDATA[Last week while I was doing some spring cleaning, I decided to move a few of my sites over to a new CPanel.   The move went fairly smoothly, but once everything was moved, there was the matter of updating the WordPress database to show the new database name. If you are wanting to do something [...]]]></description>
			<content:encoded><![CDATA[<p>Last week while I was doing some <a href="http://wphacks.com/computer-spring-cleaning-tips/">spring cleaning</a>, I decided to move a few of my sites over to a new CPanel.   The move went fairly smoothly, but once everything was moved, there was the matter of updating the WordPress database to show the new database name. If you are wanting to do something similar, here is what you need to do.</p>
<p>All you need to do is update the wp-config.php file to point towards the new database name, which should be found in the root of your WordPress installation.   Open the wp-config.php file and look for the following code:</p>
<p><code>define('DB_NAME', 'dbname');</code></p>
<p>Where it says dbname, update the name of your database.  If your login name changed, you&#8217;ll want to update that as well.</p>
<p>Once that was done, the only problem I encountered was that I was unable to upload pictures.   The fix?  Go into your WordPress dashboard and go to Settings &#8211;&gt; Miscellaneous and update the path where images are uploaded to.</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=1825&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/how-to-update-your-wordpress-database/">How To: Update Your WordPress Database Name</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-update-your-wordpress-database/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

