<?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: Mass Replace String in MySQL Database</title> <atom:link href="http://www.liewcf.com/archives/2005/04/mass-replace-string-in-mysql-database/feed/" rel="self" type="application/rss+xml" /><link>http://www.liewcf.com/archives/2005/04/mass-replace-string-in-mysql-database/</link> <description>Tech, Web, How to, Reviews, Tips, Downloads, and Make Money Online</description> <lastBuildDate>Sun, 22 Nov 2009 06:09:58 +0800</lastBuildDate> <generator>http://wordpress.org/?v=2.8.5</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: penyatd</title><link>http://www.liewcf.com/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#comment-333428</link> <dc:creator>penyatd</dc:creator> <pubDate>Fri, 09 Oct 2009 03:57:05 +0000</pubDate> <guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-333428</guid> <description>thanks!!</description> <content:encoded><![CDATA[<p>thanks!!</p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://www.liewcf.com/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#comment-326129</link> <dc:creator>Chris</dc:creator> <pubDate>Sat, 10 Jan 2009 02:01:54 +0000</pubDate> <guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-326129</guid> <description>Thanks mate, this one greatly helped me out..</description> <content:encoded><![CDATA[<p>Thanks mate, this one greatly helped me out..</p> ]]></content:encoded> </item> <item><title>By: lec</title><link>http://www.liewcf.com/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#comment-325731</link> <dc:creator>lec</dc:creator> <pubDate>Mon, 22 Dec 2008 07:13:48 +0000</pubDate> <guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-325731</guid> <description>Thank you so much dude! this helped me a lot. :)</description> <content:encoded><![CDATA[<p>Thank you so much dude! this helped me a lot. <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: khai</title><link>http://www.liewcf.com/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#comment-322533</link> <dc:creator>khai</dc:creator> <pubDate>Fri, 24 Oct 2008 12:36:21 +0000</pubDate> <guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-322533</guid> <description>to anyboady had problem like me, just chmod your htaccess to 777... and everything ok... thanks</description> <content:encoded><![CDATA[<p>to anyboady had problem like me, just chmod your htaccess to 777&#8230; and everything ok&#8230; thanks</p> ]]></content:encoded> </item> <item><title>By: khai</title><link>http://www.liewcf.com/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#comment-322503</link> <dc:creator>khai</dc:creator> <pubDate>Wed, 22 Oct 2008 11:17:22 +0000</pubDate> <guid isPermaLink="false">http://www.liewcf.com/blog/archives/2005/04/mass-replace-string-in-database/#comment-322503</guid> <description>i&#039;m follow what u wrote.. but i got this error... anyone?#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;\&quot;justkhai.com\&quot;,\&quot;blog.justkhai.com\&quot;)&#039; at line 1my old url: justkhai.com now: justkhai.com/bloganyone pls give me a favor :D tq</description> <content:encoded><![CDATA[<p>i&#8217;m follow what u wrote.. but i got this error&#8230; anyone?</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;\&#8221;justkhai.com\&#8221;,\&#8221;blog.justkhai.com\&#8221;)&#8217; at line 1</p><p>my old url: justkhai.com<br /> now: justkhai.com/blog</p><p>anyone pls give me a favor <img src='http://www.liewcf.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> tq</p> ]]></content:encoded> </item> <item><title>By: mores</title><link>http://www.liewcf.com/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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`,&quot;can&quot;,&quot;&quot;)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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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 possibleI would like to get rid off of a word in a string. Below is an example.&quot;Here you can learn&quot;Now, what I would like to do is to take of the word &quot;can&quot;.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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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 &#8211; 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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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&#039;s database by replacing the content with a link. i hope the hoster has a backup.:)yes, i know, i&#039;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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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 &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&#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;&lt;itag&gt;&#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/archives/2005/04/mass-replace-string-in-mysql-database/comment-page-1/#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> </channel> </rss><!--
This site's performance optimized by W3 Total Cache:

W3 Total Cache improves the user experience of your blog by caching
frequent operations, reducing the weight of various files and providing
transparent content delivery network integration.

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk

Served from: server.frens.net @ 2009-11-22 03:34:29 -->