<?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>Highly Cohesive</title>
	<atom:link href="http://www.highlycohesive.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.highlycohesive.net</link>
	<description>Just another Dev Blog</description>
	<lastBuildDate>Sun, 11 Apr 2010 23:23:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>More MySql, Paging Etc&#8230;</title>
		<link>http://www.highlycohesive.net/2010/04/more-mysql-paging-etc/</link>
		<comments>http://www.highlycohesive.net/2010/04/more-mysql-paging-etc/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 23:23:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.highlycohesive.net/?p=21</guid>
		<description><![CDATA[How to page in MySql

MySql uses the LIMIT keyword
Syntax:  LIMIT &#60;first item&#62;, &#60;numberofrows&#62;
The first item is 0, not 1.
EX:  SELECT * FROM user ORDER BY name WHERE name LIKE &#8216;j%&#8217; LIMIT 10, 5
Example returns the &#8220;third&#8221; page of a set paged as 5 items per page.

How to List Indexes in MySql
Tired of performance woes with [...]]]></description>
			<content:encoded><![CDATA[<h2>How to page in MySql</h2>
<ul>
<li>MySql uses the LIMIT keyword</li>
<li>Syntax:  LIMIT &lt;first item&gt;, &lt;numberofrows&gt;</li>
<li>The first item is 0, not 1.</li>
<li>EX:  SELECT * FROM user ORDER BY name WHERE name LIKE &#8216;j%&#8217; LIMIT 10, 5</li>
<li>Example returns the &#8220;third&#8221; page of a set paged as 5 items per page.</li>
</ul>
<h2>How to List Indexes in MySql</h2>
<p>Tired of performance woes with MySql?  Before deciding that  normalization is bad, try indexing your MySql tables.</p>
<ul>
<li>SHOW INDEX FROM mydb.mytable</li>
<li>SHOW INDEX FROM mytable FROM mydb</li>
<li>Statements are equivalent</li>
<li>EX:  SHOW INDEX FROM sitedb.user</li>
</ul>
<h2>How to create an index in MySql</h2>
<ul>
<li>CREATE INDEX indexname ON tablename(fieldname)</li>
<li>EX:  CREATE INDEX idx_user_id ON user(id)</li>
</ul>
<h2>How to create multiple column index (composite index) in MySql</h2>
<ul>
<li>CREATE INDEX indexname ON tablename(fieldname1, fieldname2)</li>
<li>EX:  CREATE INDEX idx_user_id ON user(id, name)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.highlycohesive.net/2010/04/more-mysql-paging-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic MySql Starter</title>
		<link>http://www.highlycohesive.net/2010/04/basic-mysql-starter/</link>
		<comments>http://www.highlycohesive.net/2010/04/basic-mysql-starter/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 16:41:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.highlycohesive.net/?p=16</guid>
		<description><![CDATA[How To Login to MySql

mysql -uuser -ppassoword
Example mysql -uroot -pthisismypassword
mysql &#8211;user=user &#8211;password=password
Example mysql &#8211;user=root &#8211;password=thisismypassword

How to List databases in MySql

at mysql command prompt&#62; show databases;
Ex:  mysql&#62; show databases;

Select a database in MySql

at mysql prompt&#62; use databasename;
Ex:  mysql&#62; use my_db;

Select list of tables in MySql

at mysql prompt&#62; show tables;
Ex:  mysql&#62; show tables;

List columns in MySql table

at [...]]]></description>
			<content:encoded><![CDATA[<p>How To Login to MySql</p>
<ul>
<li>mysql -uuser -ppassoword</li>
<li>Example mysql -uroot -pthisismypassword</li>
<li>mysql &#8211;user=user &#8211;password=password</li>
<li>Example mysql &#8211;user=root &#8211;password=thisismypassword</li>
</ul>
<p>How to List databases in MySql</p>
<ul>
<li>at mysql command prompt&gt; show databases;</li>
<li>Ex:  mysql&gt; show databases;</li>
</ul>
<p>Select a database in MySql</p>
<ul>
<li>at mysql prompt&gt; use databasename;</li>
<li>Ex:  mysql&gt; use my_db;</li>
</ul>
<p>Select list of tables in MySql</p>
<ul>
<li>at mysql prompt&gt; show tables;</li>
<li>Ex:  mysql&gt; show tables;</li>
</ul>
<p>List columns in MySql table</p>
<ul>
<li>at mysql prompt&gt; show columns from tablename;</li>
<li>Ex: mysql&gt; show columns from my_table;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.highlycohesive.net/2010/04/basic-mysql-starter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome, Join the Collective</title>
		<link>http://www.highlycohesive.net/2009/08/welcome-join-the-collective/</link>
		<comments>http://www.highlycohesive.net/2009/08/welcome-join-the-collective/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 22:33:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.highlycohesive.net/?p=3</guid>
		<description><![CDATA[Ever noticed how everything in software is clannish?   We must be near the top of industries driven by &#8220;trendy&#8221; production processes&#8230; right after organic farmers.
]]></description>
			<content:encoded><![CDATA[<p>Ever noticed how everything in software is clannish?   We must be near the top of industries driven by &#8220;trendy&#8221; production processes&#8230; right after organic farmers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.highlycohesive.net/2009/08/welcome-join-the-collective/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
