<?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>Principia Labs &#187; mysql</title>
	<atom:link href="http://principialabs.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://principialabs.com</link>
	<description>design, build, test, iterate.</description>
	<lastBuildDate>Sun, 28 Mar 2010 16:38:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>MySQL Command Reference</title>
		<link>http://principialabs.com/mysql-command-reference/</link>
		<comments>http://principialabs.com/mysql-command-reference/#comments</comments>
		<pubDate>Sat, 20 Oct 2007 20:48:50 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://principialabs.com/mysql-command-reference/</guid>
		<description><![CDATA[Login to MySQL: ~$ mysql -u username -p Create a database: create database db_name; Delete a database: drop database db_name; List all databases: show databases; Select a database: use db_name; List tables of current database: show tables; List fields of a table: describe table_name; Table query structure: select * from table_name where id = "5" [...]]]></description>
			<content:encoded><![CDATA[<p>Login to MySQL:</p>

<p><pre>~$ mysql -u username -p</pre></p>

<p>Create a database:</p>

<p><pre>create database db_name;</pre></p>

<p><span id="more-30"></span></p>

<p>Delete a database:</p>

<p><pre>drop database db_name;</pre></p>

<p>List all databases:</p>

<p><pre>show databases;</pre></p>

<p>Select a database:</p>

<p><pre>use db_name;</pre></p>

<p>List tables of current database:</p>

<p><pre>show tables;</pre></p>

<p>List fields of a table:</p>

<p><pre>describe table_name;</pre></p>

<p>Table query structure:</p>

<p><pre>select * from table_name where id = "5" </pre></p>

<p>Export a MySQL Database:</p>

<p><pre>~$ mysqldump -u username -p db_name > FILE.sql </pre></p>

<p>Import a MySQL Database:</p>

<p><pre>~$ mysql -u username -p db_name &lt; FILE.sql </pre></p>
]]></content:encoded>
			<wfw:commentRss>http://principialabs.com/mysql-command-reference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
