<?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>Ramblings from MostlyChris &#187; mysql</title>
	<atom:link href="http://blog.mostlychris.com/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mostlychris.com</link>
	<description>Tech stuff and a bit more</description>
	<lastBuildDate>Fri, 06 Aug 2010 07:13:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Extracting Single Table from mysql dump File</title>
		<link>http://blog.mostlychris.com/2010/04/extracting-single-table-from-mysql-dump-file/</link>
		<comments>http://blog.mostlychris.com/2010/04/extracting-single-table-from-mysql-dump-file/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 11:48:51 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[dump file]]></category>
		<category><![CDATA[extract single table]]></category>

		<guid isPermaLink="false">http://blog.mostlychris.com/?p=684</guid>
		<description><![CDATA[Using awk, it is possible to extract a single table from a mysql dump file. You will need to know the name of the table you want AND the name of the table immediately after the table you want. I was able to find this info quicker than loading the whole dump file by going [...]]]></description>
		<wfw:commentRss>http://blog.mostlychris.com/2010/04/extracting-single-table-from-mysql-dump-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimize Mysql</title>
		<link>http://blog.mostlychris.com/2009/12/optimize-mysql/</link>
		<comments>http://blog.mostlychris.com/2009/12/optimize-mysql/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 06:12:20 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[optimize]]></category>

		<guid isPermaLink="false">http://blog.mostlychris.com/?p=611</guid>
		<description><![CDATA[The following command will optimize all databases in mysql (excpect those that don't support it due to their storage engine). mysqlcheck -Aao You can throw the --auto-repair flag in if you are brave.]]></description>
		<wfw:commentRss>http://blog.mostlychris.com/2009/12/optimize-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restoring from mysql-binlog</title>
		<link>http://blog.mostlychris.com/2009/07/restoring-from-mysql-binlog/</link>
		<comments>http://blog.mostlychris.com/2009/07/restoring-from-mysql-binlog/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 10:43:18 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://blog.mostlychris.com/?p=532</guid>
		<description><![CDATA[On more than one occasion I have had to figure out how to restore data from a mysql-binlog and I do it so infrequently that I decided to put the command here so I know where to find it in the future. The first thing to do is to export the binlog. Since it is [...]]]></description>
		<wfw:commentRss>http://blog.mostlychris.com/2009/07/restoring-from-mysql-binlog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dropping All Table in a Database</title>
		<link>http://blog.mostlychris.com/2009/04/dropping-all-table-in-a-database/</link>
		<comments>http://blog.mostlychris.com/2009/04/dropping-all-table-in-a-database/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 22:07:26 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[tables]]></category>

		<guid isPermaLink="false">http://blog.mostlychris.com/?p=414</guid>
		<description><![CDATA[Here is a handy little snippet for deleting all the tables in a database. Replace 'uname' and 'dbname' as required. mysql -u uname dbname -e &#34;show tables&#34; &#124; grep -v Tables_in &#124; grep -v &#34;+&#34; &#160;&#124; gawk '{print &#34;drop table &#34; $1 &#34;;&#34;}' &#124; mysql -u uname dbname]]></description>
		<wfw:commentRss>http://blog.mostlychris.com/2009/04/dropping-all-table-in-a-database/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>REPAIR MESSED UP .FRM FILE</title>
		<link>http://blog.mostlychris.com/2009/04/repair-messed-up-frm-file/</link>
		<comments>http://blog.mostlychris.com/2009/04/repair-messed-up-frm-file/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 22:02:24 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[repair]]></category>

		<guid isPermaLink="false">http://blog.mostlychris.com/?p=411</guid>
		<description><![CDATA[If your .FRM file gets hosed up, you'll need to repair it or your database(s) will be worthless. You'll still need to make sure you make regular backups of your databases so you can use them to rebuild the .FRM file. 1. Get last good backup of database (assumes the backup is an .sql formatted [...]]]></description>
		<wfw:commentRss>http://blog.mostlychris.com/2009/04/repair-messed-up-frm-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
