<?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>LAMP How To - Open Source At Work &#187; Think SQL</title>
	<atom:link href="http://www.azhowto.com/category/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.azhowto.com</link>
	<description>Only Passion Matters</description>
	<lastBuildDate>Wed, 08 Feb 2012 03:07:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Quick Mysql Tips</title>
		<link>http://www.azhowto.com/2010/03/29/quick-mysql-tips/</link>
		<comments>http://www.azhowto.com/2010/03/29/quick-mysql-tips/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 02:25:33 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think SQL]]></category>
		<category><![CDATA[MYSQL]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=647</guid>
		<description><![CDATA[mysql dump limited data

mysqldump -uroot -pxx dbname dbtable --where="true order by transactionid desc limit 1"

Logging slow queries
To enable the slow query log, start mysqld with the  –log-slow-queries[=file_name] option. Use the mysqldumpslow command to  summarize the queries that appear in the log. For example:
mysqldumpslow /path/to/your/mysql-slow-queries.log -t 10

shows you top 10 performance killers.
Lost Password

 shutdown [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/03/29/quick-mysql-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>submitting a form using hyperlinks</title>
		<link>http://www.azhowto.com/2010/02/10/submitting-a-form-using-hyperlinks/</link>
		<comments>http://www.azhowto.com/2010/02/10/submitting-a-form-using-hyperlinks/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 03:08:36 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think PHP]]></category>
		<category><![CDATA[Think SQL]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=625</guid>
		<description><![CDATA[If using hyperlink to submit form, remember to return false in &#8220;onclick&#8221; so that it is backward compatible with IE6, ie
&#60;a class=&#8221;button_next&#8221; href=&#8221;javascript:;&#8221; onclick=&#8221;$(&#8216;#form_wizard&#8217;).submit();return false;&#8221;&#62;
&#60;span&#62;Update&#60;/span&#62;
&#60;/a&#62;
]]></description>
		<wfw:commentRss>http://www.azhowto.com/2010/02/10/submitting-a-form-using-hyperlinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bash: passing output from one program to another</title>
		<link>http://www.azhowto.com/2009/08/21/bash-passing-output-from-one-program-to-another/</link>
		<comments>http://www.azhowto.com/2009/08/21/bash-passing-output-from-one-program-to-another/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 06:54:54 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Think Linux]]></category>
		<category><![CDATA[Think Networking]]></category>
		<category><![CDATA[Think PHP]]></category>
		<category><![CDATA[Think SQL]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://www.azhowto.com/?p=524</guid>
		<description><![CDATA[sometimes you want to be able to pass output from one program to another, say from bash to php. There is a neat trick to do it.  In php, we execute the bash script restartapache.
&#60;?php
$command="/usr/local/bin/restartapache {$_GET['server']}";
exec($command, $output); foreach ($output as $v)
{ echo "$v &#60;br/&#62;"; }
?&#62;
then in the bash, we write the output to a [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2009/08/21/bash-passing-output-from-one-program-to-another/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing Foreign Key Constraints In MYSQL</title>
		<link>http://www.azhowto.com/2008/10/22/removing-foreign-key-constraints-in-mysql/</link>
		<comments>http://www.azhowto.com/2008/10/22/removing-foreign-key-constraints-in-mysql/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 07:29:08 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Think SQL]]></category>
		<category><![CDATA[constraints]]></category>
		<category><![CDATA[innoDB]]></category>
		<category><![CDATA[MYSQL]]></category>

		<guid isPermaLink="false">http://web-developer.sitecritic.net/2008/10/22/removing-foreign-key-constraints-in-mysql/</guid>
		<description><![CDATA[Some Mysql db is using innoDB which implements foreign key contraints. If you can&#8217;t drop or alter a table, check that it doesnt have foreign key contraints. Well, innoDB can be an angel or devil&#8230;
In mysql command line, check existence of foreign keys

show create table demographic_type
CREATE TABLE `demographic_type` (
`id` int(10) unsigned NOT NULL auto_increment,
`user_group_id` varchar(255) [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2008/10/22/removing-foreign-key-constraints-in-mysql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Retrieve Lost Password in MYSQL</title>
		<link>http://www.azhowto.com/2008/10/21/retrieve-lost-password-in-mysql/</link>
		<comments>http://www.azhowto.com/2008/10/21/retrieve-lost-password-in-mysql/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 08:11:33 +0000</pubDate>
		<dc:creator>bpeh</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Think SQL]]></category>
		<category><![CDATA[MYSQL]]></category>

		<guid isPermaLink="false">http://web-developer.sitecritic.net/2008/10/21/retrieve-lost-password-in-mysql/</guid>
		<description><![CDATA[Sometime, we forget the root password for mysql. It happened to me once in my company. The previous developer left and didn&#8217;t document where to look for passwords. Well, it is possible for the root user of the system to reset it anyway&#8230;
First shutdown mysql, 
/etc/init.d/mysql stop
then
mysqld –skip-grant-tables –u root
mysql -u root
mysql&#62; use mysql;
mysql&#62; UPDATE [...]]]></description>
		<wfw:commentRss>http://www.azhowto.com/2008/10/21/retrieve-lost-password-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
