<?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: 13 Useful WordPress SQL Queries You Wish You Knew Earlier</title>
	<atom:link href="http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/</link>
	<description>A digital community for web designers and developers by sharing freebies, great tutorials, useful resources and online tips.</description>
	<lastBuildDate>Wed, 08 Feb 2012 06:22:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: J Jasmine</title>
		<link>http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/comment-page-1/#comment-21998</link>
		<dc:creator>J Jasmine</dc:creator>
		<pubDate>Sun, 05 Feb 2012 20:58:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.onextrapixel.com/?p=3482#comment-21998</guid>
		<description>Thank you!

Very useful post.

Although I couldn´t get this query to work 

SELECT * From wp_terms wt
INNER JOIN wp_term_taxonomy wtt ON wt.term_id=wtt.term_id WHERE wtt.taxonomy=&#039;post_tag&#039; AND wtt.count=0;

MySQL returns nothing ( it should )</description>
		<content:encoded><![CDATA[<p>Thank you!</p>
<p>Very useful post.</p>
<p>Although I couldn´t get this query to work </p>
<p>SELECT * From wp_terms wt<br />
INNER JOIN wp_term_taxonomy wtt ON wt.term_id=wtt.term_id WHERE wtt.taxonomy='post_tag' AND wtt.count=0;</p>
<p>MySQL returns nothing ( it should )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Katie @ Women's Magazine</title>
		<link>http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/comment-page-1/#comment-21878</link>
		<dc:creator>Katie @ Women's Magazine</dc:creator>
		<pubDate>Wed, 01 Feb 2012 12:05:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.onextrapixel.com/?p=3482#comment-21878</guid>
		<description>Do you know a query to reset WP data to it&#039;s original form, this includes removing all dummy content and postmetas?</description>
		<content:encoded><![CDATA[<p>Do you know a query to reset WP data to it's original form, this includes removing all dummy content and postmetas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AustinCoulson</title>
		<link>http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/comment-page-1/#comment-21757</link>
		<dc:creator>AustinCoulson</dc:creator>
		<pubDate>Thu, 26 Jan 2012 21:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.onextrapixel.com/?p=3482#comment-21757</guid>
		<description>Several of these queries are awesome for post host transfer updates. I know you change the URL via admin before moving it etc, but these are nice too! Thanks!</description>
		<content:encoded><![CDATA[<p>Several of these queries are awesome for post host transfer updates. I know you change the URL via admin before moving it etc, but these are nice too! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ds</title>
		<link>http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/comment-page-1/#comment-21685</link>
		<dc:creator>ds</dc:creator>
		<pubDate>Sun, 22 Jan 2012 01:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.onextrapixel.com/?p=3482#comment-21685</guid>
		<description>DON&#039;T DO THIS ... This deletes all tables</description>
		<content:encoded><![CDATA[<p>DON'T DO THIS ... This deletes all tables</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mayur</title>
		<link>http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/comment-page-1/#comment-21416</link>
		<dc:creator>Mayur</dc:creator>
		<pubDate>Tue, 03 Jan 2012 14:16:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.onextrapixel.com/?p=3482#comment-21416</guid>
		<description>an awesome query list !!
Thanks a lot :)</description>
		<content:encoded><![CDATA[<p>an awesome query list !!<br />
Thanks a lot :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samuel</title>
		<link>http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/comment-page-1/#comment-21182</link>
		<dc:creator>Samuel</dc:creator>
		<pubDate>Fri, 16 Dec 2011 12:31:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.onextrapixel.com/?p=3482#comment-21182</guid>
		<description>Hello All.
Came across the site from google and though it has a lot of queries, I still can&#039;t find the one I&#039;m looking for and i&#039;m hoping someone might help.
What I&#039;m trying to do, is delete a user and all posts related to that user. I ran &quot;DELETE FROM `impactra_wrdpn`.`wp_users` WHERE `wp_users`.`ID` = theuserid&quot; though user got deleted, the posts were still on the site. I know I could do it from admin backend but my allocation is not allowing me and these are all spam posts :(
Please advice and Thanks in advance
Samuel</description>
		<content:encoded><![CDATA[<p>Hello All.<br />
Came across the site from google and though it has a lot of queries, I still can't find the one I'm looking for and i'm hoping someone might help.<br />
What I'm trying to do, is delete a user and all posts related to that user. I ran "DELETE FROM `impactra_wrdpn`.`wp_users` WHERE `wp_users`.`ID` = theuserid" though user got deleted, the posts were still on the site. I know I could do it from admin backend but my allocation is not allowing me and these are all spam posts :(<br />
Please advice and Thanks in advance<br />
Samuel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Otton</title>
		<link>http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/comment-page-1/#comment-21143</link>
		<dc:creator>Michael Otton</dc:creator>
		<pubDate>Tue, 13 Dec 2011 19:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.onextrapixel.com/?p=3482#comment-21143</guid>
		<description>Finally some really useful info. Thankyou very much</description>
		<content:encoded><![CDATA[<p>Finally some really useful info. Thankyou very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elizaibeth</title>
		<link>http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/comment-page-1/#comment-21063</link>
		<dc:creator>Elizaibeth</dc:creator>
		<pubDate>Wed, 07 Dec 2011 15:05:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.onextrapixel.com/?p=3482#comment-21063</guid>
		<description>me too! :D</description>
		<content:encoded><![CDATA[<p>me too! :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elizaibeth</title>
		<link>http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/comment-page-1/#comment-21062</link>
		<dc:creator>Elizaibeth</dc:creator>
		<pubDate>Wed, 07 Dec 2011 15:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.onextrapixel.com/?p=3482#comment-21062</guid>
		<description>IDIOT I JUST LOST ALL MY TABLES ARGHGHGH UFFFFFFFFFFF</description>
		<content:encoded><![CDATA[<p>IDIOT I JUST LOST ALL MY TABLES ARGHGHGH UFFFFFFFFFFF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://www.onextrapixel.com/2010/01/30/13-useful-wordpress-sql-queries-you-wish-you-knew-earlier/comment-page-1/#comment-20741</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Sat, 19 Nov 2011 00:55:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.onextrapixel.com/?p=3482#comment-20741</guid>
		<description>I have used your queries before many times but only when moving wordpress sites/databases around on external hotsing not to my Ubuntu server which is what I want to do now. Normally goes well - just create a new site and database - import the old sql file to create the tables and then run the queries - in this case primarily changing http://www.myoldhostname.co.uk to http://localhost.
In the past when I have run the site for the first time with the new structure it goes straight in but this time I am being given the WordPress Welcome screen. Any thoughts. wp-config is correct becasue I delete all the newly created tables before importing the old sql file.</description>
		<content:encoded><![CDATA[<p>I have used your queries before many times but only when moving wordpress sites/databases around on external hotsing not to my Ubuntu server which is what I want to do now. Normally goes well - just create a new site and database - import the old sql file to create the tables and then run the queries - in this case primarily changing <a href="http://www.myoldhostname.co.uk" rel="nofollow">http://www.myoldhostname.co.uk</a> to <a href="http://localhost" rel="nofollow">http://localhost</a>.<br />
In the past when I have run the site for the first time with the new structure it goes straight in but this time I am being given the WordPress Welcome screen. Any thoughts. wp-config is correct becasue I delete all the newly created tables before importing the old sql file.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc (User agent is rejected)
Database Caching 2/16 queries in 0.047 seconds using apc
Object Caching 456/463 objects using apc
Content Delivery Network via net.onextrapixel.com

Served from: onextrapixel.com @ 2012-02-08 16:14:42 -->
