<?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"
	>
<channel>
	<title>Comments on: Mass Replace String in MySQL Database</title>
	<atom:link href="http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/</link>
	<description>Tech, Web, How to, Reviews, Tips, Downloads, and Make Money Online</description>
	<pubDate>Thu, 16 Oct 2008 07:08:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: mores</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-321291</link>
		<dc:creator>mores</dc:creator>
		<pubDate>Fri, 12 Sep 2008 16:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-321291</guid>
		<description>REPLACE(`post_content`,"can","")

You might want to remove a leading or trailing space as well</description>
		<content:encoded><![CDATA[<p>REPLACE(`post_content`,&#8221;can&#8221;,&#8221;")</p>
<p>You might want to remove a leading or trailing space as well</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-321272</link>
		<dc:creator>Juan</dc:creator>
		<pubDate>Thu, 11 Sep 2008 17:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-321272</guid>
		<description>just wondering whether this possible

I would like to get rid off of a word in a string. Below is an example.

"Here you can learn"

Now, what I would like to do is to take of the word "can". 

How do I do that ?

thanks</description>
		<content:encoded><![CDATA[<p>just wondering whether this possible</p>
<p>I would like to get rid off of a word in a string. Below is an example.</p>
<p>&#8220;Here you can learn&#8221;</p>
<p>Now, what I would like to do is to take of the word &#8220;can&#8221;. </p>
<p>How do I do that ?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-319920</link>
		<dc:creator>Serge</dc:creator>
		<pubDate>Sun, 31 Aug 2008 08:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-319920</guid>
		<description>brilliant ... just what i needed :-)</description>
		<content:encoded><![CDATA[<p>brilliant &#8230; just what i needed <img src='http://www.liewcf.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jez</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-306770</link>
		<dc:creator>Jez</dc:creator>
		<pubDate>Mon, 09 Jun 2008 16:11:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-306770</guid>
		<description>Shame there is not a utility to replace strings in the entire table or database.... if you have lots of tables / column names to check it gets messy having to iterated them all, but I have not come across another way of doing it...</description>
		<content:encoded><![CDATA[<p>Shame there is not a utility to replace strings in the entire table or database&#8230;. if you have lots of tables / column names to check it gets messy having to iterated them all, but I have not come across another way of doing it&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan at Work &#187; Blog Archive &#187; Change of Name</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-304318</link>
		<dc:creator>Allan at Work &#187; Blog Archive &#187; Change of Name</dc:creator>
		<pubDate>Tue, 08 Apr 2008 18:47:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-304318</guid>
		<description>[...] to Liewcf, it was really wuick to fix, even in the tech feed I also [...]</description>
		<content:encoded><![CDATA[<p>[...] to Liewcf, it was really wuick to fix, even in the tech feed I also [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-302433</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 12 Feb 2008 13:41:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-302433</guid>
		<description>Thanks a lot for the tip.
It saved me half a day of manual repetitive editing.

Cheers</description>
		<content:encoded><![CDATA[<p>Thanks a lot for the tip.<br />
It saved me half a day of manual repetitive editing.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohamed Bhimji</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-302367</link>
		<dc:creator>Mohamed Bhimji</dc:creator>
		<pubDate>Sat, 09 Feb 2008 03:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-302367</guid>
		<description>WOW!  This was great - the SQL was all it took to move my site from one domain to another without any additional issues.  And to think, I was going to spend hours doing this manually.

Thanks!!!

Mohamed</description>
		<content:encoded><![CDATA[<p>WOW!  This was great - the SQL was all it took to move my site from one domain to another without any additional issues.  And to think, I was going to spend hours doing this manually.</p>
<p>Thanks!!!</p>
<p>Mohamed</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mores</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-299540</link>
		<dc:creator>mores</dc:creator>
		<pubDate>Tue, 11 Dec 2007 14:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-299540</guid>
		<description>small update: was able to get a restore from my provider for 80 bucks excl. tax.
then i made my own backup and tried the replace string again :D
worked!</description>
		<content:encoded><![CDATA[<p>small update: was able to get a restore from my provider for 80 bucks excl. tax.<br />
then i made my own backup and tried the replace string again <img src='http://www.liewcf.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
worked!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mores</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-299506</link>
		<dc:creator>mores</dc:creator>
		<pubDate>Mon, 10 Dec 2007 12:09:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-299506</guid>
		<description>hi.
thanks for the tip. however, you might want to mention that people do a BACKUP first.
because brain-dead me completely f*cked up a client's database by replacing the content with a link.
i hope the hoster has a backup.

:)

yes, i know, i'm at fault. just want people to know that there is no UNDO in phpmyadmin :(</description>
		<content:encoded><![CDATA[<p>hi.<br />
thanks for the tip. however, you might want to mention that people do a BACKUP first.<br />
because brain-dead me completely f*cked up a client&#8217;s database by replacing the content with a link.<br />
i hope the hoster has a backup.</p>
<p> <img src='http://www.liewcf.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>yes, i know, i&#8217;m at fault. just want people to know that there is no UNDO in phpmyadmin <img src='http://www.liewcf.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Update Text Link Ads Affiliate TinyURL in One Shot</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-293502</link>
		<dc:creator>How to Update Text Link Ads Affiliate TinyURL in One Shot</dc:creator>
		<pubDate>Thu, 23 Aug 2007 21:16:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-293502</guid>
		<description>[...] I show you how to update all the old TLA affiliate links in one shot (WordPress only) using Mass String Replace in MySQL: PLAIN TEXT [...]</description>
		<content:encoded><![CDATA[<p>[...] I show you how to update all the old TLA affiliate links in one shot (WordPress only) using Mass String Replace in MySQL: PLAIN TEXT [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ambrand Dot Com</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-287496</link>
		<dc:creator>Ambrand Dot Com</dc:creator>
		<pubDate>Tue, 10 Apr 2007 02:00:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-287496</guid>
		<description>You are a legend I was just wondering how to do a batch replace on a SQL DB. I was considering doing an export, and using TextPad (notepad would never hand the file_size!) but your simple command did the trick.</description>
		<content:encoded><![CDATA[<p>You are a legend I was just wondering how to do a batch replace on a SQL DB. I was considering doing an export, and using TextPad (notepad would never hand the file_size!) but your simple command did the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Evans</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-276809</link>
		<dc:creator>David Evans</dc:creator>
		<pubDate>Sat, 10 Mar 2007 01:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-276809</guid>
		<description>Great tip for those of us not too familiar with simple mysql queries.</description>
		<content:encoded><![CDATA[<p>Great tip for those of us not too familiar with simple mysql queries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mySQL. Sostituzione di massa di stringhe &#187; Studio404</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-138423</link>
		<dc:creator>mySQL. Sostituzione di massa di stringhe &#187; Studio404</dc:creator>
		<pubDate>Mon, 24 Jul 2006 22:33:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-138423</guid>
		<description>[...] Qualche volta può capitare di dover sostituire delle stringhe (testi, cifre etc) nel nostro database mySQL. Se il database contiene centinaia di records (come spesso capita) è impensabile effettuare le sostituzioni manualmente. Possiamo però usare un semplice trucchetto, illustrato qui. [...]</description>
		<content:encoded><![CDATA[<p>[...] Qualche volta può capitare di dover sostituire delle stringhe (testi, cifre etc) nel nostro database mySQL. Se il database contiene centinaia di records (come spesso capita) è impensabile effettuare le sostituzioni manualmente. Possiamo però usare un semplice trucchetto, illustrato qui. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NalinMakar.com : Blog Archive : Installed UTW3 for Tags</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-22926</link>
		<dc:creator>NalinMakar.com : Blog Archive : Installed UTW3 for Tags</dc:creator>
		<pubDate>Fri, 14 Apr 2006 21:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-22926</guid>
		<description>[...] Then, using phpMYAdmin, I updated the strings &#60;itag&#62; and &#60;/itag&#62; to respectivly for all the posts. The former custom HTML tags are used by WP Taggerati to define tags, where as the latter&#160;are used by UTW. NOTE: I could have modified UTW&#8217;s PHP code too, but I didn&#8217;t want to use the &#8216;&#60;itag&#62;&#8217; format. I searched a bit and found the information on how to replace the strings&#160;on LiewCF.com.&#160; [...]</description>
		<content:encoded><![CDATA[<p>[...] Then, using phpMYAdmin, I updated the strings &lt;itag&gt; and &lt;/itag&gt; to respectivly for all the posts. The former custom HTML tags are used by WP Taggerati to define tags, where as the latter&nbsp;are used by UTW. NOTE: I could have modified UTW&rsquo;s PHP code too, but I didn&rsquo;t want to use the &lsquo;&lt;itag&gt;&rsquo; format. I searched a bit and found the information on how to replace the strings&nbsp;on LiewCF.com.&nbsp; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alessandro</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-19956</link>
		<dc:creator>Alessandro</dc:creator>
		<pubDate>Sat, 25 Mar 2006 23:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-19956</guid>
		<description>Hi guys! This Trick is very cool, but if i want to use same code for searching and replacing string in entire databse (not only Specified TABLE and Column). Whic syntax can i write? Can you help me?

see you, alessandro</description>
		<content:encoded><![CDATA[<p>Hi guys! This Trick is very cool, but if i want to use same code for searching and replacing string in entire databse (not only Specified TABLE and Column). Whic syntax can i write? Can you help me?</p>
<p>see you, alessandro</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SocInf &#187; Archivio Blog &#187; mySQL. Sostituzione automatica di stringhe.</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-15696</link>
		<dc:creator>SocInf &#187; Archivio Blog &#187; mySQL. Sostituzione automatica di stringhe.</dc:creator>
		<pubDate>Sat, 10 Dec 2005 15:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-15696</guid>
		<description>[...] Qualche volta può capitare di dover sostituire delle stringhe (testi, cifre etc) nel nostro database mySQL. Se il database contiene centinaia di records (come spesso capita) è impensabile effettuare le sostituzioni manualmente. Possiamo però usare un semplice trucchetto, illustrato qui. [...]</description>
		<content:encoded><![CDATA[<p>[...] Qualche volta può capitare di dover sostituire delle stringhe (testi, cifre etc) nel nostro database mySQL. Se il database contiene centinaia di records (come spesso capita) è impensabile effettuare le sostituzioni manualmente. Possiamo però usare un semplice trucchetto, illustrato qui. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr.Brown&#8217;s Blog &#187; A good site for WP Tricks</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-14288</link>
		<dc:creator>Mr.Brown&#8217;s Blog &#187; A good site for WP Tricks</dc:creator>
		<pubDate>Wed, 12 Oct 2005 00:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-14288</guid>
		<description>[...] Today I was searching for WordPress plugins (none particular) and I found this site. This guy wrote an interesting section dedicated to WP tricks. One post is very useful: hot to Mass Replace String in MySQL Database. [...]</description>
		<content:encoded><![CDATA[<p>[...] Today I was searching for WordPress plugins (none particular) and I found this site. This guy wrote an interesting section dedicated to WP tricks. One post is very useful: hot to Mass Replace String in MySQL Database. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LcF</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-8941</link>
		<dc:creator>LcF</dc:creator>
		<pubDate>Mon, 25 Apr 2005 10:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-8941</guid>
		<description>@caleb: here you are &lt;a href="http://codex.wordpress.org/Plugins/Auto_shutoff_comments" rel="nofollow"&gt;Auto_shutoff_comments&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>@caleb: here you are <a href="http://codex.wordpress.org/Plugins/Auto_shutoff_comments" rel="nofollow">Auto_shutoff_comments</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caleb</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-8937</link>
		<dc:creator>caleb</dc:creator>
		<pubDate>Mon, 25 Apr 2005 04:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-8937</guid>
		<description>Hi,

Is there a way to close commenting for old posts in WP? I am getting hit hard by comment-spam and would like to know if there is way to shut off commenting for posts that are older then 3 months...
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Is there a way to close commenting for old posts in WP? I am getting hit hard by comment-spam and would like to know if there is way to shut off commenting for posts that are older then 3 months&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lim Chee Aun</title>
		<link>http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-mysql-database/#comment-8929</link>
		<dc:creator>Lim Chee Aun</dc:creator>
		<pubDate>Sun, 24 Apr 2005 15:08:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-8929</guid>
		<description>Aha.. I see.. This is rather useful. Overall, &lt;a href="http://www.w3.org/Provider/Style/URI.html" rel="nofollow"&gt;cool URIs&lt;/a&gt; rule!</description>
		<content:encoded><![CDATA[<p>Aha.. I see.. This is rather useful. Overall, <a href="http://www.w3.org/Provider/Style/URI.html" rel="nofollow">cool URIs</a> rule!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
