<?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 and Replace Text in MySQL Database using SQL</title>
	<atom:link href="http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/</link>
	<description>Living Digitally and Electronically</description>
	<lastBuildDate>Thu, 26 Nov 2009 07:23:44 +0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Vil Gays</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-2/#comment-617392</link>
		<dc:creator>Vil Gays</dc:creator>
		<pubDate>Mon, 23 Nov 2009 16:00:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-617392</guid>
		<description>@Richard:
 Just a guess: are you using regular single quotes (i.e. apostrophe) as you should, or maybe typographic ones, which you shouldn&#039;t?</description>
		<content:encoded><![CDATA[<p>@Richard:<br />
 Just a guess: are you using regular single quotes (i.e. apostrophe) as you should, or maybe typographic ones, which you shouldn&#8217;t?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-2/#comment-616316</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Fri, 20 Nov 2009 06:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-616316</guid>
		<description>I&#039;m moving my blog to a new hosting company. Since I&#039;m moving the blog to the root from a subfolder /blog/, I need to change the wp_posts guid field on all the posts. 
Example: http://mymarketingvp.net/blog/18-revision-5/  [This is from the current database.]

Following the steps above, I entered this SQL statement: 
update wp_posts set guid = replace(guid, ‘net/blog/’, ‘net/’)
[&quot;net&quot; is the end of the domain name *.net]

I got the following error message:
Error
SQL query:
UPDATE wp_posts SET guid = replace( guid, ‘net / blog / ’, ‘net / ’ )
MySQL said: 
#1054 - Unknown column &#039;â€˜net&#039; in &#039;field list&#039;

Notice how it added some spaces in the command. Same error when I remove the spaces.

Any suggestions??? Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;m moving my blog to a new hosting company. Since I&#8217;m moving the blog to the root from a subfolder /blog/, I need to change the wp_posts guid field on all the posts.<br />
Example: <a href="http://mymarketingvp.net/blog/18-revision-5/" rel="nofollow">http://mymarketingvp.net/blog/18-revision-5/</a>  [This is from the current database.]</p>
<p>Following the steps above, I entered this SQL statement:<br />
update wp_posts set guid = replace(guid, ‘net/blog/’, ‘net/’)<br />
["net" is the end of the domain name *.net]</p>
<p>I got the following error message:<br />
Error<br />
SQL query:<br />
UPDATE wp_posts SET guid = replace( guid, ‘net / blog / ’, ‘net / ’ )<br />
MySQL said:<br />
#1054 &#8211; Unknown column &#8216;â€˜net&#8217; in &#8216;field list&#8217;</p>
<p>Notice how it added some spaces in the command. Same error when I remove the spaces.</p>
<p>Any suggestions??? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: timtak</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-2/#comment-608120</link>
		<dc:creator>timtak</dc:creator>
		<pubDate>Wed, 28 Oct 2009 01:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-608120</guid>
		<description>I am looking for a way to do this globally accross a whole database.</description>
		<content:encoded><![CDATA[<p>I am looking for a way to do this globally accross a whole database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kevin</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-2/#comment-606207</link>
		<dc:creator>kevin</dc:creator>
		<pubDate>Tue, 20 Oct 2009 12:28:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-606207</guid>
		<description>Doesn&#039;t work at all for replacing web addresses within a database.</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t work at all for replacing web addresses within a database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vishwas</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-2/#comment-602377</link>
		<dc:creator>vishwas</dc:creator>
		<pubDate>Wed, 30 Sep 2009 07:26:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-602377</guid>
		<description>Wanted to use REPLACE command to use for a column of a table...and this helped me...thanks</description>
		<content:encoded><![CDATA[<p>Wanted to use REPLACE command to use for a column of a table&#8230;and this helped me&#8230;thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maksin</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-1/#comment-599250</link>
		<dc:creator>Maksin</dc:creator>
		<pubDate>Tue, 15 Sep 2009 11:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-599250</guid>
		<description>Thanks. :)</description>
		<content:encoded><![CDATA[<p>Thanks. <img src='http://www.mydigitallife.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-1/#comment-597670</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Mon, 07 Sep 2009 12:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-597670</guid>
		<description>thanks men for the help</description>
		<content:encoded><![CDATA[<p>thanks men for the help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-1/#comment-596056</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Tue, 01 Sep 2009 06:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-596056</guid>
		<description>This is pretty good. I use replace function very often. somehow I wish it had the capability to replace multiple values (different values) at once without having to  nest them.</description>
		<content:encoded><![CDATA[<p>This is pretty good. I use replace function very often. somehow I wish it had the capability to replace multiple values (different values) at once without having to  nest them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-1/#comment-586212</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 14 Jul 2009 00:08:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-586212</guid>
		<description>Thanks!

I used this</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
<p>I used this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: morse</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-1/#comment-584952</link>
		<dc:creator>morse</dc:creator>
		<pubDate>Wed, 08 Jul 2009 14:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-584952</guid>
		<description>Am very thankful, The code helped me. Google diverted me to this post. Thank you again.</description>
		<content:encoded><![CDATA[<p>Am very thankful, The code helped me. Google diverted me to this post. Thank you again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Unibet</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-1/#comment-583305</link>
		<dc:creator>Unibet</dc:creator>
		<pubDate>Tue, 30 Jun 2009 08:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-583305</guid>
		<description>Thanks for sharing
unibet&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for sharing<br />
unibet</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wordpress修改域名后图片无法显示的解决方法 &#124; WebBeta.org 独立博客主机</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-1/#comment-582705</link>
		<dc:creator>wordpress修改域名后图片无法显示的解决方法 &#124; WebBeta.org 独立博客主机</dc:creator>
		<pubDate>Sat, 27 Jun 2009 15:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-582705</guid>
		<description>[...] The guide uses SQL statements based on MySQL replace() functionto modify the database. To run SQL queries, login to MySQL database that houses WordPress tables via [...]</description>
		<content:encoded><![CDATA[<p>[...] The guide uses SQL statements based on MySQL replace() functionto modify the database. To run SQL queries, login to MySQL database that houses WordPress tables via [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arpit Deomurari</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-1/#comment-575098</link>
		<dc:creator>Arpit Deomurari</dc:creator>
		<pubDate>Wed, 13 May 2009 06:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-575098</guid>
		<description>hey guys...

I want to update my joomla cotnent with another column data 

eg.

mysql_query(&quot;update jos_content set introtext = replace(introtext,&#039;XXXXXXXX&#039;,&#039;DATA FROM ANOTHER COLUMN&#039;) where SECID = &#039;1&#039; or die(mysql_error())//;


DATA FROM ANOTHER COLUMN == SN column from same table.....

cAN YOU PLEASE HELP ME IN CORRECT SQL SYNTAX</description>
		<content:encoded><![CDATA[<p>hey guys&#8230;</p>
<p>I want to update my joomla cotnent with another column data </p>
<p>eg.</p>
<p>mysql_query(&#8221;update jos_content set introtext = replace(introtext,&#8217;XXXXXXXX&#8217;,'DATA FROM ANOTHER COLUMN&#8217;) where SECID = &#8216;1&#8242; or die(mysql_error())//;</p>
<p>DATA FROM ANOTHER COLUMN == SN column from same table&#8230;..</p>
<p>cAN YOU PLEASE HELP ME IN CORRECT SQL SYNTAX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Find and Replace in MySQL &#124; Ruby on Rails Notes</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-1/#comment-571452</link>
		<dc:creator>Find and Replace in MySQL &#124; Ruby on Rails Notes</dc:creator>
		<pubDate>Tue, 21 Apr 2009 20:59:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-571452</guid>
		<description>[...] I got the info from http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/ [...]</description>
		<content:encoded><![CDATA[<p>[...] I got the info from http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Filas</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-1/#comment-566043</link>
		<dc:creator>Filas</dc:creator>
		<pubDate>Wed, 18 Mar 2009 09:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-566043</guid>
		<description>Thanks 4 the help!</description>
		<content:encoded><![CDATA[<p>Thanks 4 the help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo</title>
		<link>http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/comment-page-1/#comment-564274</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Fri, 06 Mar 2009 20:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/#comment-564274</guid>
		<description>Thank you very much. Exactly what I needed!</description>
		<content:encoded><![CDATA[<p>Thank you very much. Exactly what I needed!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
