<?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>Free Technology Tutorials &#187; WP database</title>
	<atom:link href="http://educhalk.org/blog/category/wp-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://educhalk.org/blog</link>
	<description>Technology Made Easy</description>
	<lastBuildDate>Wed, 16 May 2012 15:57:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-RC1-20950</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>MySql Database Nightmare &#8212; Innodb vs MyISAM</title>
		<link>http://educhalk.org/blog/2010/10/mysql-database-nightmare-innodb-vs-myisam/</link>
		<comments>http://educhalk.org/blog/2010/10/mysql-database-nightmare-innodb-vs-myisam/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 22:18:02 +0000</pubDate>
		<dc:creator>figaro</dc:creator>
				<category><![CDATA[MySql DB]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[WP database]]></category>
		<category><![CDATA[MySql Database]]></category>

		<guid isPermaLink="false">http://educhalk.org/blog/?p=945</guid>
		<description><![CDATA[TweetLast week I had a server crash &#8212; hardware problems &#8212; and have spent the past week recovering. I had several php apps running on the server along with a lot of static content&#8211;including a couple thousand videos. So I spent a day rebuilding the server on a new box and restoring the static content [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton945" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Feduchalk.org%2Fblog%2F2010%2F10%2Fmysql-database-nightmare-innodb-vs-myisam%2F&amp;text=MySql%20Database%20Nightmare%20%26%238212%3B%20Innodb%20vs%20MyISAM&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Feduchalk.org%2Fblog%2F2010%2F10%2Fmysql-database-nightmare-innodb-vs-myisam%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://educhalk.org/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Last week I had a server crash &#8212; hardware problems &#8212; and have spent the past week recovering. I had several php apps running on the server along with a lot of static content&#8211;including a couple thousand videos. So I spent a day rebuilding the server on a new box and restoring the static content was a breeze&#8211;really drove home the point for me about the value of keeping things simple. 500+ videos were just uploaded into a directory and were not part of a php app&#8211;very simple to restore. However, the vast majority of my content was tied to a couple Moodle LMS installs, several WordPress installs including one WordPress Mu install, and five MedaiWiki installs.</p>
<p>Fortunately, I was able to recover the data from the crashed box, but not all of it was in a format that I am accustomed to dealing with&#8230;specifically the MySql databases. I&#8217;m very comfortable working with MySql database dumps, unfortunately, the latest .sql dump I had of each of my DB&#8217;s was over a month old and my server backups were not running &#8212; long story <img src='http://educhalk.org/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>So, I was stuck with restoring my php apps using the database files from the file system.</p>
<p>After a little web-searching and a little common sense, I was able to easily enough restore all my MyISAM databases. My Moodle and WordPress sites were all using MyISAM. So, on my new server, I simple created new db&#8217;s, navigated to the db directory on the server and then copied the .frm, .myd, and .myi files to the directory. This resulted in a db that I could then see via phpMyAdmin, but all the tables were read-only. The simple fix to that problem was to then dump the db to an .sql file, drop the tables, and import the .sql file &#8212; only a few minutes work and back in business.</p>
<p>The solution to the Innodb databases was not so intuitive &#8212; my Mediawiki sites were all innodb. There were database directories in the mysql folder for these just like all the other db&#8217;s, but they only contained the .frm files for most of the tables &#8212; I think two tables were actually MyISAM and had all three files. So, the process I used to recover the MyISAM db&#8217;s didn&#8217;t work on these db&#8217;s. After about three days of work, Google searching, and plain old trial-and-error, I finally figured out how to recover the Innodb databases as well. In short, I installed a fresh copy of XAMPP on my local computer, moved over the db directories from the crashed server (the ones with just the .frm files) and moved over the ibdata and ib log files &#8212; three files total &#8212; and then the db&#8217;s were recreated in XAMPP. This allowed me to dump them as an .sql file and from there I was good to go. Note, that working in XAMPP wasn&#8217;t absolutely necessary, but it allowed me to work in an offline environment and get to the end result of creating .sql dumps that I could then import into my live site. Needless to say, when I restored my Mediawiki sites, I made sure the db&#8217;s were MyISAM &#8212; in my opinion, a lot easier to work with.</p>
<p>I&#8217;ll make a video in the next few weeks detailing how I did this &#8212; not only to help others, but to also to document my own process just in case I&#8217;m confronted with this issue in the future.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://educhalk.org/blog/2010/10/mysql-database-nightmare-innodb-vs-myisam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Error Establishing a Database Connection&#8221; &#8212; How to Fix This WordPress Error</title>
		<link>http://educhalk.org/blog/2009/03/error-establishing-a-database-connection-how-to-fix-this-wordpress-error/</link>
		<comments>http://educhalk.org/blog/2009/03/error-establishing-a-database-connection-how-to-fix-this-wordpress-error/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 20:20:09 +0000</pubDate>
		<dc:creator>figaro</dc:creator>
				<category><![CDATA[Just the Video Tutorials]]></category>
		<category><![CDATA[WP database]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Database Error]]></category>

		<guid isPermaLink="false">http://educhalk.org/blog/?p=148</guid>
		<description><![CDATA[Tweet&#8220;Error Establishing a Database Connection&#8221; &#8212; How to Fix This WordPress Error: Part 1 of 2 &#8220;Error Establishing a Database Connection&#8221; &#8212; How to Fix This WordPress Error: Part 2 of 2 Related posts: How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin TweetIMPORTANT MESSAGE: If you use the Bigdump script I [...]
Related posts:<ol>
<li><a href='http://educhalk.org/blog/2009/01/how-to-import-a-large-wordpress-database-an-alternative-to-phpmyadmin/' rel='bookmark' title='How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin'>How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin</a> <small>TweetIMPORTANT MESSAGE: If you use the Bigdump script I illustrate...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton148" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Feduchalk.org%2Fblog%2F2009%2F03%2Ferror-establishing-a-database-connection-how-to-fix-this-wordpress-error%2F&amp;text=%26%238220%3BError%20Establishing%20a%20Database%20Connection%26%238221%3B%20%26%238212%3B%20How%20to%20Fix%20This%20WordPress%20Error&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Feduchalk.org%2Fblog%2F2009%2F03%2Ferror-establishing-a-database-connection-how-to-fix-this-wordpress-error%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://educhalk.org/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>&#8220;Error Establishing a Database Connection&#8221; &#8212; How to Fix This WordPress Error: Part 1 of 2</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/-xu1zWxNBh0&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/-xu1zWxNBh0&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>&#8220;Error Establishing a Database Connection&#8221; &#8212; How to Fix This WordPress Error: Part 2 of 2</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/lOFfCirVj04&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/lOFfCirVj04&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>Related posts:<ol>
<li><a href='http://educhalk.org/blog/2009/01/how-to-import-a-large-wordpress-database-an-alternative-to-phpmyadmin/' rel='bookmark' title='How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin'>How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin</a> <small>TweetIMPORTANT MESSAGE: If you use the Bigdump script I illustrate...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://educhalk.org/blog/2009/03/error-establishing-a-database-connection-how-to-fix-this-wordpress-error/feed/</wfw:commentRss>
		<slash:comments>151</slash:comments>
		</item>
		<item>
		<title>How to Mass Delete Unapproved WordPress Comments</title>
		<link>http://educhalk.org/blog/2009/01/how-to-mass-delete-unapproved-comments/</link>
		<comments>http://educhalk.org/blog/2009/01/how-to-mass-delete-unapproved-comments/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 18:02:53 +0000</pubDate>
		<dc:creator>figaro</dc:creator>
				<category><![CDATA[Just the Video Tutorials]]></category>
		<category><![CDATA[WP Comments]]></category>
		<category><![CDATA[WP database]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Manage comments]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://educhalk.org/blog/?p=133</guid>
		<description><![CDATA[TweetHow to Mass Delete Unapproved Comments from Your WordPress Database Using phpMyAdmin Related posts: How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin TweetIMPORTANT MESSAGE: If you use the Bigdump script I illustrate... WordPress Trash Feature &#8212; How to Customize TweetIn WordPress 2.9 one of the new features is the...
Related posts:<ol>
<li><a href='http://educhalk.org/blog/2009/01/how-to-import-a-large-wordpress-database-an-alternative-to-phpmyadmin/' rel='bookmark' title='How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin'>How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin</a> <small>TweetIMPORTANT MESSAGE: If you use the Bigdump script I illustrate...</small></li>
<li><a href='http://educhalk.org/blog/2010/01/wordpress-2-9-trash-feature-how-to-customize/' rel='bookmark' title='WordPress Trash Feature &#8212; How to Customize'>WordPress Trash Feature &#8212; How to Customize</a> <small>TweetIn WordPress 2.9 one of the new features is the...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton133" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Feduchalk.org%2Fblog%2F2009%2F01%2Fhow-to-mass-delete-unapproved-comments%2F&amp;text=How%20to%20Mass%20Delete%20Unapproved%20WordPress%20Comments&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Feduchalk.org%2Fblog%2F2009%2F01%2Fhow-to-mass-delete-unapproved-comments%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://educhalk.org/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>How to Mass Delete Unapproved Comments from Your WordPress Database Using phpMyAdmin</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/QCA4loQi7yM&#038;hl=en&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/QCA4loQi7yM&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>Related posts:<ol>
<li><a href='http://educhalk.org/blog/2009/01/how-to-import-a-large-wordpress-database-an-alternative-to-phpmyadmin/' rel='bookmark' title='How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin'>How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin</a> <small>TweetIMPORTANT MESSAGE: If you use the Bigdump script I illustrate...</small></li>
<li><a href='http://educhalk.org/blog/2010/01/wordpress-2-9-trash-feature-how-to-customize/' rel='bookmark' title='WordPress Trash Feature &#8212; How to Customize'>WordPress Trash Feature &#8212; How to Customize</a> <small>TweetIn WordPress 2.9 one of the new features is the...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://educhalk.org/blog/2009/01/how-to-mass-delete-unapproved-comments/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin</title>
		<link>http://educhalk.org/blog/2009/01/how-to-import-a-large-wordpress-database-an-alternative-to-phpmyadmin/</link>
		<comments>http://educhalk.org/blog/2009/01/how-to-import-a-large-wordpress-database-an-alternative-to-phpmyadmin/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 21:25:04 +0000</pubDate>
		<dc:creator>figaro</dc:creator>
				<category><![CDATA[Just the Video Tutorials]]></category>
		<category><![CDATA[WP database]]></category>
		<category><![CDATA[Bigdump]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Large database]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://educhalk.org/blog/?p=125</guid>
		<description><![CDATA[TweetIMPORTANT MESSAGE: If you use the Bigdump script I illustrate below, after you are done importing your database, be sure to delete the Bigdump directory. If you leave it in place, then anyone who stumbles across it could destroy your database. So, once you are done, remove it from your server and then if you [...]
Related posts:<ol>
<li><a href='http://educhalk.org/blog/2010/12/tools-used-in-louisville-wordcamp-presentation/' rel='bookmark' title='Outline &amp; Tools Used in Louisville WordCamp Presentation'>Outline &#038; Tools Used in Louisville WordCamp Presentation</a> <small>TweetOutline of my presentations at WordCamp Louisville: WP  Basic Installation...</small></li>
<li><a href='http://educhalk.org/blog/2009/03/error-establishing-a-database-connection-how-to-fix-this-wordpress-error/' rel='bookmark' title='&#8220;Error Establishing a Database Connection&#8221; &#8212; How to Fix This WordPress Error'>&#8220;Error Establishing a Database Connection&#8221; &#8212; How to Fix This WordPress Error</a> <small>Tweet&#8220;Error Establishing a Database Connection&#8221; &#8212; How to Fix This...</small></li>
<li><a href='http://educhalk.org/blog/2009/01/how-to-mass-delete-unapproved-comments/' rel='bookmark' title='How to Mass Delete Unapproved WordPress Comments'>How to Mass Delete Unapproved WordPress Comments</a> <small>TweetHow to Mass Delete Unapproved Comments from Your WordPress Database...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton125" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Feduchalk.org%2Fblog%2F2009%2F01%2Fhow-to-import-a-large-wordpress-database-an-alternative-to-phpmyadmin%2F&amp;text=How%20to%20Import%20a%20Large%20WordPress%20Database%20%26%238212%3B%20An%20Alternative%20to%20phpMyAdmin&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Feduchalk.org%2Fblog%2F2009%2F01%2Fhow-to-import-a-large-wordpress-database-an-alternative-to-phpmyadmin%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://educhalk.org/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><strong>IMPORTANT MESSAGE: If you use the Bigdump script I illustrate below, after you are done importing your database, be sure to delete the Bigdump directory. If you leave it in place, then anyone who stumbles across it could destroy your database.</strong> So, once you are done, remove it from your server and then if you need to use it again in the future, just upload it when you need it&#8230;removing it when you are done with it.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin &#8212; Part 1 of 2</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/iWsbOqd-1v4&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/iWsbOqd-1v4&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>How to Import a Large WordPress Database &#8212; An Alternative to phpMyAdmin &#8212; Part 2 of 2</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/meTSX2qVan4&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/meTSX2qVan4&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>Related posts:<ol>
<li><a href='http://educhalk.org/blog/2010/12/tools-used-in-louisville-wordcamp-presentation/' rel='bookmark' title='Outline &amp; Tools Used in Louisville WordCamp Presentation'>Outline &#038; Tools Used in Louisville WordCamp Presentation</a> <small>TweetOutline of my presentations at WordCamp Louisville: WP  Basic Installation...</small></li>
<li><a href='http://educhalk.org/blog/2009/03/error-establishing-a-database-connection-how-to-fix-this-wordpress-error/' rel='bookmark' title='&#8220;Error Establishing a Database Connection&#8221; &#8212; How to Fix This WordPress Error'>&#8220;Error Establishing a Database Connection&#8221; &#8212; How to Fix This WordPress Error</a> <small>Tweet&#8220;Error Establishing a Database Connection&#8221; &#8212; How to Fix This...</small></li>
<li><a href='http://educhalk.org/blog/2009/01/how-to-mass-delete-unapproved-comments/' rel='bookmark' title='How to Mass Delete Unapproved WordPress Comments'>How to Mass Delete Unapproved WordPress Comments</a> <small>TweetHow to Mass Delete Unapproved Comments from Your WordPress Database...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://educhalk.org/blog/2009/01/how-to-import-a-large-wordpress-database-an-alternative-to-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
		<item>
		<title>WordPress Database Tip: How to Optimize and/or Repair Your Database</title>
		<link>http://educhalk.org/blog/2009/01/wordpress-database-tip-how-to-optimize-andor-repair-your-database/</link>
		<comments>http://educhalk.org/blog/2009/01/wordpress-database-tip-how-to-optimize-andor-repair-your-database/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 17:34:18 +0000</pubDate>
		<dc:creator>figaro</dc:creator>
				<category><![CDATA[Just the Video Tutorials]]></category>
		<category><![CDATA[WP database]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Optimize]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://educhalk.org/blog/?p=114</guid>
		<description><![CDATA[Tweet No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton114" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Feduchalk.org%2Fblog%2F2009%2F01%2Fwordpress-database-tip-how-to-optimize-andor-repair-your-database%2F&amp;text=WordPress%20Database%20Tip%3A%20How%20to%20Optimize%20and%2For%20Repair%20Your%20Database&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Feduchalk.org%2Fblog%2F2009%2F01%2Fwordpress-database-tip-how-to-optimize-andor-repair-your-database%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://educhalk.org/blog/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/C1MspnhJhsM&#038;hl=en&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/C1MspnhJhsM&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://educhalk.org/blog/2009/01/wordpress-database-tip-how-to-optimize-andor-repair-your-database/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

