<?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: How to find / replace in mysql for wordpress permalinks that have changed</title>
	<atom:link href="http://blinktag.com/how-to-find-replace-in-mysql-for-wordpress-permalinks-that-have-changed/feed/" rel="self" type="application/rss+xml" />
	<link>http://blinktag.com/how-to-find-replace-in-mysql-for-wordpress-permalinks-that-have-changed/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-find-replace-in-mysql-for-wordpress-permalinks-that-have-changed</link>
	<description></description>
	<lastBuildDate>Tue, 25 Oct 2011 15:15:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>	<item>
		<title>By: vuelosdebajocoste</title>
		<link>http://blinktag.com/how-to-find-replace-in-mysql-for-wordpress-permalinks-that-have-changed/comment-page-1/#comment-537</link>
		<dc:creator>vuelosdebajocoste</dc:creator>
		<pubDate>Fri, 03 Jun 2011 23:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://blnktag.com/?p=228#comment-537</guid>
		<description>Hello, very useful as you mention, what I want to do is look inside 
post a specific keyword and replace it with a link to a web 
position, taking into account that the Keyword may already be inthe wrong. 
ideas perhaps with a cursor?</description>
		<content:encoded><![CDATA[<p>Hello, very useful as you mention, what I want to do is look inside<br />
post a specific keyword and replace it with a link to a web<br />
position, taking into account that the Keyword may already be inthe wrong.<br />
ideas perhaps with a cursor?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aimeiba</title>
		<link>http://blinktag.com/how-to-find-replace-in-mysql-for-wordpress-permalinks-that-have-changed/comment-page-1/#comment-525</link>
		<dc:creator>aimeiba</dc:creator>
		<pubDate>Thu, 21 Apr 2011 08:12:49 +0000</pubDate>
		<guid isPermaLink="false">http://blnktag.com/?p=228#comment-525</guid>
		<description>Thanks, this was much quicker than doing the tiresome Search and Replace method… And, it also made me realize I really should buff up on my SQL skills  
hi, thanks for this useful post, i already move my blog to another domain and realize that all images on my post still pointing to old domain, so i need to find and replace all url on my post with my new domain. Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks, this was much quicker than doing the tiresome Search and Replace method… And, it also made me realize I really should buff up on my SQL skills<br />
hi, thanks for this useful post, i already move my blog to another domain and realize that all images on my post still pointing to old domain, so i need to find and replace all url on my post with my new domain. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakarayam</title>
		<link>http://blinktag.com/how-to-find-replace-in-mysql-for-wordpress-permalinks-that-have-changed/comment-page-1/#comment-351</link>
		<dc:creator>cakarayam</dc:creator>
		<pubDate>Sun, 13 Feb 2011 02:06:56 +0000</pubDate>
		<guid isPermaLink="false">http://blnktag.com/?p=228#comment-351</guid>
		<description>hi, thanks for this useful post, i already move my blog to another domain and realize that all images on my post still pointing to old domain, so i need to &lt;a href=&quot;http://cakarayam.com/find-and-replace-mysql-how-to-find-and-replace-data-in-mysql/&quot; rel=&quot;nofollow&quot;&gt;find and replace&lt;/a&gt; all url on my post with my new domain. Thanks. </description>
		<content:encoded><![CDATA[<p>hi, thanks for this useful post, i already move my blog to another domain and realize that all images on my post still pointing to old domain, so i need to <a href="http://cakarayam.com/find-and-replace-mysql-how-to-find-and-replace-data-in-mysql/" rel="nofollow">find and replace</a> all url on my post with my new domain. Thanks. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Johnson</title>
		<link>http://blinktag.com/how-to-find-replace-in-mysql-for-wordpress-permalinks-that-have-changed/comment-page-1/#comment-270</link>
		<dc:creator>Joseph Johnson</dc:creator>
		<pubDate>Fri, 21 Jan 2011 01:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://blnktag.com/?p=228#comment-270</guid>
		<description>@Jamie: That can quickly become very time consuming; especially with a WP installation that has pre-existing content and permalinks.  
 
@Brendan: Thanks, this was much quicker than doing the tiresome Search and Replace method... And, it also made me realize I really should buff up on my SQL skills ;-) </description>
		<content:encoded><![CDATA[<p>@Jamie: That can quickly become very time consuming; especially with a WP installation that has pre-existing content and permalinks.  </p>
<p>@Brendan: Thanks, this was much quicker than doing the tiresome Search and Replace method&#8230; And, it also made me realize I really should buff up on my SQL skills <img src='http://blinktag.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terinea Weblog</title>
		<link>http://blinktag.com/how-to-find-replace-in-mysql-for-wordpress-permalinks-that-have-changed/comment-page-1/#comment-106</link>
		<dc:creator>Terinea Weblog</dc:creator>
		<pubDate>Sun, 10 May 2009 18:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://blnktag.com/?p=228#comment-106</guid>
		<description>Another option is to do an export from MyAdminSQL and then do a find and replace on the text export, rename the table as backup and import the text file

Jamie</description>
		<content:encoded><![CDATA[<p>Another option is to do an export from MyAdminSQL and then do a find and replace on the text export, rename the table as backup and import the text file</p>
<p>Jamie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse</title>
		<link>http://blinktag.com/how-to-find-replace-in-mysql-for-wordpress-permalinks-that-have-changed/comment-page-1/#comment-42</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Tue, 17 Mar 2009 10:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://blnktag.com/?p=228#comment-42</guid>
		<description>Jed,

You&#039;re right, I knocked my head against the wall for a couple of hours trying to figure out what the heck was going on. Phpmyadmin put those &quot;ticks&quot; in place of single quotes after a failed query took me back to the query screen with my previous attempt slightly modified. After figuring this out everything worked as advertised and I was able to find and replace all those urls referring to the old website with ones for the new.

One note: I was not able to escape the forward slashes. In MySQL 5.x escaping anything other than a small predetermind set of characters (I&#039;d have to go back to look) apparently has no effect. SO I focused on just the actual URL part without the &quot;http://&quot; and that worked just as well.

Two references to this behavior:

http://bugs.mysql.com/bug.php?id=20103

http://dev.mysql.com/doc/refman/5.0/en/string-syntax.html

I may be missing something.

Thanks for responding.</description>
		<content:encoded><![CDATA[<p>Jed,</p>
<p>You&#8217;re right, I knocked my head against the wall for a couple of hours trying to figure out what the heck was going on. Phpmyadmin put those &#8220;ticks&#8221; in place of single quotes after a failed query took me back to the query screen with my previous attempt slightly modified. After figuring this out everything worked as advertised and I was able to find and replace all those urls referring to the old website with ones for the new.</p>
<p>One note: I was not able to escape the forward slashes. In MySQL 5.x escaping anything other than a small predetermind set of characters (I&#8217;d have to go back to look) apparently has no effect. SO I focused on just the actual URL part without the &#8220;http://&#8221; and that worked just as well.</p>
<p>Two references to this behavior:</p>
<p><a href="http://bugs.mysql.com/bug.php?id=20103" rel="nofollow">http://bugs.mysql.com/bug.php?id=20103</a></p>
<p><a href="http://dev.mysql.com/doc/refman/5.0/en/string-syntax.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/string-syntax.html</a></p>
<p>I may be missing something.</p>
<p>Thanks for responding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jed Horne</title>
		<link>http://blinktag.com/how-to-find-replace-in-mysql-for-wordpress-permalinks-that-have-changed/comment-page-1/#comment-41</link>
		<dc:creator>Jed Horne</dc:creator>
		<pubDate>Tue, 17 Mar 2009 00:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://blnktag.com/?p=228#comment-41</guid>
		<description>Hi Jesse,

It looks like you might have had some improper characters in your statement, maybe some &quot;smart&quot; or &quot;curly&quot; quotes snuck into our syntax.  Try again using the above example.</description>
		<content:encoded><![CDATA[<p>Hi Jesse,</p>
<p>It looks like you might have had some improper characters in your statement, maybe some &#8220;smart&#8221; or &#8220;curly&#8221; quotes snuck into our syntax.  Try again using the above example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse</title>
		<link>http://blinktag.com/how-to-find-replace-in-mysql-for-wordpress-permalinks-that-have-changed/comment-page-1/#comment-17</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Sun, 08 Mar 2009 21:31:51 +0000</pubDate>
		<guid isPermaLink="false">http://blnktag.com/?p=228#comment-17</guid>
		<description>This doesn&#039;t work for me under My SQL 5.0x. I still get an error that doesn&#039;t recognize the backslashes.

Error
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 63
STR: :\/\/
SQL: update wp_posts set post_content = replace(post_content, ‘http:\/\/keyissues.mu.nu\/archives\/’, ‘http:\/\/www.keymonroe.com\/wp-content\/uploads\/’)

SQL query:

update wp_posts set post_content = replace(post_content, ‘http:\/\/keyissues.mu.nu\/archives\/’, ‘http:\/\/www.keymonroe.com\/wp-content\/uploads\/’)

MySQL said: 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;:\/\/keyissues.mu.nu\/archives\/â€™, â€˜http:\/\/www.keymonroe.c</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t work for me under My SQL 5.0x. I still get an error that doesn&#8217;t recognize the backslashes.</p>
<p>Error<br />
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem</p>
<p>ERROR: Unknown Punctuation String @ 63<br />
STR: :\/\/<br />
SQL: update wp_posts set post_content = replace(post_content, ‘http:\/\/keyissues.mu.nu\/archives\/’, ‘http:\/\/www.keymonroe.com\/wp-content\/uploads\/’)</p>
<p>SQL query:</p>
<p>update wp_posts set post_content = replace(post_content, ‘http:\/\/keyissues.mu.nu\/archives\/’, ‘http:\/\/www.keymonroe.com\/wp-content\/uploads\/’)</p>
<p>MySQL said: </p>
<p>#1064 &#8211; You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;:\/\/keyissues.mu.nu\/archives\/â€™, â€˜http:\/\/www.keymonroe.c</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 11/27 queries in 0.021 seconds using disk: basic

Served from: blinktag.com @ 2012-05-18 10:39:56 -->
