<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Curtis Blackwell &#187; troubleshooting</title>
	<atom:link href="http://curtisblackwell.com/tag/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://curtisblackwell.com</link>
	<description>Curtis Blackwell&#039;s portfolio of web &#38; graphic design, accompanied by a design blog..</description>
	<lastBuildDate>Mon, 22 Mar 2010 21:43:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Clear Your Old Database Tables</title>
		<link>http://curtisblackwell.com/how-to-clear-your-old-database-tables/</link>
		<comments>http://curtisblackwell.com/how-to-clear-your-old-database-tables/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 06:37:06 +0000</pubDate>
		<dc:creator>Curtis</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://curtisblackwell.com/?p=444</guid>
		<description><![CDATA[Oh noz!

To someone who hasn&#8217;t dealt with this problem before, this issue probably seems pretty intimidating (at least I think it did to me when I first got it). However, this is most likely a simple fix.

Arriving at the Problem
First, let&#8217;s talk about how I came about this problem today so you can avoid it [...]]]></description>
			<content:encoded><![CDATA[<h3>Oh noz!</h3>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2010/02/already-installed.png" alt="" title="already-installed" width="653" height="199" class="aligncenter size-full wp-image-445" /></p>
<p>To someone who hasn&#8217;t dealt with this problem before, this issue probably seems pretty intimidating (at least I think it did to me when I first got it). However, this is most likely a simple fix.</p>
<p><span id="more-444"></span></p>
<h3>Arriving at the Problem</h3>
<p>First, let&#8217;s talk about how I came about this problem today so you can avoid it in the future.</p>
<p>To speed things up, I like to keep a copy of the most recent version of WordPress on my computer with a few modifications. One thing I modify is the wp-config.php file; here are some of the changes:</p>
<pre class="php">
<code>
<span class="comment">/** MY CHANGES **/

// creates fewer database queries, thus improving performance</span>
<span class="php-function">define</span>(<span class="php-string">'WP_HOME'</span>, <span class="php-string">'http://URL.com'</span>);
<span class="php-function">define</span>(<span class="php-string">'WP_SITEURL'</span>, <span class="php-string">'http://URL.com'</span>);
</code>
</pre>
<p>This will screw things up if I don&#8217;t replace <code><span class="php-string">'http://URL.com'</span></code> with the correct URL. More specifically, I get the &#8220;clear your old database tables first&#8221; message from WordPress. This is what happened today when I transferred a theme from my server to a client&#8217;s.</p>
<h3>The Solution</h3>
<p><span class="html-comment">&lt;!&#45;&#45; EDIT &#45;&#45;&gt;</span><br />
<a href="#comment-135">Quickest and easiest way</a> in the comments. I haven&#8217;t tested it yet, but I know and trust the source.</p>
<ol>
<li>
<p>Log in to phpMyAdmin (or other database management tool).</p>
<p><small>You should be able to find phpMyAdmin in the control panel of your hosting account.</p>
<p>With <a href="http://www.lunarpages.com/id/curtisblackwellcom" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.lunarpages.com/id/curtisblackwellcom?referer=');">lunarpages</a>, you need to click on MySQL Databases and scroll to the very bottom and click the phpMyAdmin link.</p>
<p>With AT&#038;T, you get to the control panel by adding /ControlPanel/ to the end of your URL.</p>
<ol>
<li>Once you log in, click on databases in the left column.</li>
<li>If you haven&#8217;t already enabled MySQL, click MySQL under databases,</li>
<li>create a password,</li>
<li>and click the enable button on the right.</li>
<li>Right beneath MySQL, click phpMyAdmin</li>
<li>and enable it by clicking the button on the right.</li>
<li>Then click the link that reads &#8220;Administer MySQL with phpMyAdmin.&#8221; Log in and you&#8217;ll be in phpMyAdmin.</li>
</ol>
<p></small><br />
<img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2010/02/att-MySQL.png" alt="" title="at&amp;t-MySQL" width="653" height="129" class="size-full wp-image-464" /><br />
<img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2010/02/att-phpMyAdmin.png" alt="" title="at&amp;t-phpMyAdmin" width="653" height="129" class="size-full wp-image-465" /></p>
<p><small>I haven&#8217;t had to do this with any other hosts so if you need help, contact your host, leave a comment, or send me an email and I&#8217;ll do my best to help you figure it out.</small></p>
</li>
<li>After logging in, you should be on a page that has a sidebar on the left with a list of all your databases. Click on the name of the database from which you need to clear tables.</li>
<p><img src="http://curtisblackwell.com/ajhngvbng/wp-content/uploads/2010/02/sidebar.png" alt="" title="sidebar" width="100" height="187" class="aligncenter wp-image-473" /></p>
<p><span class="html-comment">&lt;!&#45;&#45; I&#8217;m pretty sure this next step is irreversible, so make sure you&#8217;re on the right database &#45;&#45;&gt;</span></p>
<li>Now you just need to select all the tables that begin with the &#8220;wp_&#8221; prefix and choose &#8220;Drop&#8221; from the drop-down menu.</li>
<li>Make sure your wp-config.php file has all the correct information in it, and go to http://example.com/wp-admin/install.php/.</li>
</ol>
<p>You should be good to go now. If you&#8217;re still having trouble, leave a comment and I&#8217;ll see what I can do. Also, if you have anything to add, feel free to do so in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://curtisblackwell.com/how-to-clear-your-old-database-tables/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
