<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Merging WordPress Databases</title>
	<atom:link href="http://www.j2fi.net/2009/05/05/merging-wordpress-databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.j2fi.net/2009/05/05/merging-wordpress-databases/</link>
	<description>Battling Imaginary Windmills</description>
	<lastBuildDate>Thu, 18 Mar 2010 14:29:57 +0900</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jason</title>
		<link>http://www.j2fi.net/2009/05/05/merging-wordpress-databases/comment-page-1/#comment-3250</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Sat, 03 Oct 2009 02:54:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/?p=1236#comment-3250</guid>
		<description>Thanks for the comment, Andrew.  When you changed the table prefix in the wp-config file, did you also change it in your database?  This value needs to be updated in both the wp_options and wp_usermeta tables.

You should be able to update this in phpMyAdmin with:

UPDATE wp1_options
SET option_name = REPLACE(option_name, &#039;wp_&#039;, &#039;cl_&#039;)
WHERE option_name LIKE &#039;wp_%&#039;;

and

UPDATE wp1_usermeta
SET meta_key = REPLACE(meta_key, &#039;wp_&#039;, &#039;cl_&#039;)
WHERE meta_key LIKE &#039;wp_&#039;;

I would also suggest making sure that all of the plugins are marked as being disabled.  You can do this from the database with the following command:

UPDATE wp_options
SET option_value = &#039;&#039;
WHERE option_name = &#039;active_plugins&#039;;

That should let you see information on the screen, and get back into the admin screens to re-activate plugins.

Changing the collation from latin1_swedish_ci to utf8_general_ci shouldn&#039;t cause too many problems, but you&#039;ll probably notice that some of your posts will now all have a strange character at the start of each paragraph.  If you don&#039;t have too many posts, you can edit them one by one but, if you have several hundred posts to update, you might want to fix it in phpMyAdmin or MySQL Query Browser.

I hope this answers your questions.  Let me know if you have any others.

Cheers,</description>
		<content:encoded><![CDATA[<p>Thanks for the comment, Andrew.  When you changed the table prefix in the wp-config file, did you also change it in your database?  This value needs to be updated in both the wp_options and wp_usermeta tables.</p>
<p>You should be able to update this in phpMyAdmin with:</p>
<p>UPDATE wp1_options<br />
SET option_name = REPLACE(option_name, &#8216;wp_&#8217;, &#8216;cl_&#8217;)<br />
WHERE option_name LIKE &#8216;wp_%&#8217;;</p>
<p>and</p>
<p>UPDATE wp1_usermeta<br />
SET meta_key = REPLACE(meta_key, &#8216;wp_&#8217;, &#8216;cl_&#8217;)<br />
WHERE meta_key LIKE &#8216;wp_&#8217;;</p>
<p>I would also suggest making sure that all of the plugins are marked as being disabled.  You can do this from the database with the following command:</p>
<p>UPDATE wp_options<br />
SET option_value = &#8221;<br />
WHERE option_name = &#8216;active_plugins&#8217;;</p>
<p>That should let you see information on the screen, and get back into the admin screens to re-activate plugins.</p>
<p>Changing the collation from latin1_swedish_ci to utf8_general_ci shouldn&#8217;t cause too many problems, but you&#8217;ll probably notice that some of your posts will now all have a strange character at the start of each paragraph.  If you don&#8217;t have too many posts, you can edit them one by one but, if you have several hundred posts to update, you might want to fix it in phpMyAdmin or MySQL Query Browser.</p>
<p>I hope this answers your questions.  Let me know if you have any others.</p>
<p>Cheers,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Henderson</title>
		<link>http://www.j2fi.net/2009/05/05/merging-wordpress-databases/comment-page-1/#comment-3245</link>
		<dc:creator>Andrew Henderson</dc:creator>
		<pubDate>Fri, 02 Oct 2009 12:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/?p=1236#comment-3245</guid>
		<description>Hi Jason,

I recently imported an old Wordpress database of mine onto another website I own.  That part went ok.  Although, I am having trouble getting the content to load.  There are two differences between the old database and the current one, that I am aware of.  The prefix: wp_ vs cl_ and the collation: utf8_general_ci vs latin1_swedish_ci

I modified the table prefix in the wp-config file, and tried changing the chartset from utf8 to latin1 (not sure if this was right).  Still the page loads blank.  What am I doing wrong?

Thank you in advace for your help.</description>
		<content:encoded><![CDATA[<p>Hi Jason,</p>
<p>I recently imported an old Wordpress database of mine onto another website I own.  That part went ok.  Although, I am having trouble getting the content to load.  There are two differences between the old database and the current one, that I am aware of.  The prefix: wp_ vs cl_ and the collation: utf8_general_ci vs latin1_swedish_ci</p>
<p>I modified the table prefix in the wp-config file, and tried changing the chartset from utf8 to latin1 (not sure if this was right).  Still the page loads blank.  What am I doing wrong?</p>
<p>Thank you in advace for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luckie</title>
		<link>http://www.j2fi.net/2009/05/05/merging-wordpress-databases/comment-page-1/#comment-2960</link>
		<dc:creator>Luckie</dc:creator>
		<pubDate>Mon, 27 Jul 2009 07:46:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/?p=1236#comment-2960</guid>
		<description>Hi Jason! Thanks, that would be great! I am scared to touch it! Can you email me the particulars - cost, time, when, payment etc &amp; we can get going?

Luckie.</description>
		<content:encoded><![CDATA[<p>Hi Jason! Thanks, that would be great! I am scared to touch it! Can you email me the particulars &#8211; cost, time, when, payment etc &amp; we can get going?</p>
<p>Luckie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.j2fi.net/2009/05/05/merging-wordpress-databases/comment-page-1/#comment-2959</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 27 Jul 2009 07:35:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/?p=1236#comment-2959</guid>
		<description>I can certainly help you merge the two databases if you&#039;d like.  It wouldn&#039;t take long at all.

Please send a Direct Message to me on Twitter if you&#039;d like me to do this, or you can reply here and I&#039;ll respond via email.

Cheers</description>
		<content:encoded><![CDATA[<p>I can certainly help you merge the two databases if you&#8217;d like.  It wouldn&#8217;t take long at all.</p>
<p>Please send a Direct Message to me on Twitter if you&#8217;d like me to do this, or you can reply here and I&#8217;ll respond via email.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luckie</title>
		<link>http://www.j2fi.net/2009/05/05/merging-wordpress-databases/comment-page-1/#comment-2958</link>
		<dc:creator>Luckie</dc:creator>
		<pubDate>Mon, 27 Jul 2009 07:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/?p=1236#comment-2958</guid>
		<description>Jason - I have a WordPress blog with 2 databases that need to be merged. One database contains posts/comments from 8/2/08-6/28/09; the other posts/comments from 6/29/08-present.

I&#039;ve exported both MySQL files to my local computer but am afraid my technical expertise stops there.

Is this a service that you can provide and/or can you refer me to any who does?

Thanks,

Luckie.</description>
		<content:encoded><![CDATA[<p>Jason &#8211; I have a WordPress blog with 2 databases that need to be merged. One database contains posts/comments from 8/2/08-6/28/09; the other posts/comments from 6/29/08-present.</p>
<p>I&#8217;ve exported both MySQL files to my local computer but am afraid my technical expertise stops there.</p>
<p>Is this a service that you can provide and/or can you refer me to any who does?</p>
<p>Thanks,</p>
<p>Luckie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.j2fi.net/2009/05/05/merging-wordpress-databases/comment-page-1/#comment-2926</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 15 Jul 2009 03:12:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/?p=1236#comment-2926</guid>
		<description>Я рад, что ты нашел статью полезной. Вы можете вернуться в любое время.</description>
		<content:encoded><![CDATA[<p>Я рад, что ты нашел статью полезной. Вы можете вернуться в любое время.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hedsmeere</title>
		<link>http://www.j2fi.net/2009/05/05/merging-wordpress-databases/comment-page-1/#comment-2925</link>
		<dc:creator>Hedsmeere</dc:creator>
		<pubDate>Wed, 15 Jul 2009 01:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.j2fi.net/?p=1236#comment-2925</guid>
		<description>Весьма забавная мысль
Браво, какие слова..., блестящая мысль</description>
		<content:encoded><![CDATA[<p>Весьма забавная мысль<br />
Браво, какие слова&#8230;, блестящая мысль</p>
]]></content:encoded>
	</item>
</channel>
</rss>
