<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>N Rao Lakkakula&#039;s Blog</title>
	<atom:link href="http://nlakkakula.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nlakkakula.wordpress.com</link>
	<description>Daily Technical Observations....</description>
	<lastBuildDate>Sat, 25 May 2013 17:47:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='nlakkakula.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/f0921d680211101dc5cf84aae0b0f354?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>N Rao Lakkakula&#039;s Blog</title>
		<link>http://nlakkakula.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nlakkakula.wordpress.com/osd.xml" title="N Rao Lakkakula&#039;s Blog" />
	<atom:link rel='hub' href='http://nlakkakula.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to Setup EC2 API Command line Tools on Windows PC</title>
		<link>http://nlakkakula.wordpress.com/2010/03/09/how-to-setup-ec2-api-command-line-tools-on-windows-pc/</link>
		<comments>http://nlakkakula.wordpress.com/2010/03/09/how-to-setup-ec2-api-command-line-tools-on-windows-pc/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 02:33:44 +0000</pubDate>
		<dc:creator>Bob Lakkakula</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nlakkakula.wordpress.com/2010/03/10/how-to-setup-ec2-api-command-line-tools-on-windows-pc/</guid>
		<description><![CDATA[Download API Tools from http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&#038;categoryID=88 Extract the zip file to C:\ folder (to avoid paths with quotes issues in windows). I also renamed the folder to &#8220;ec2-api-tools&#8221; Set Java Home Environment Variable. Usually this looks like &#8220;C:\Program Files\Java\jrexxx&#8221;. Find out exact path on your computer From Command Prompt &#62; cd C:\ec2-api-tools &#62; set JAVA_HOME=&#8221;C:\Program Files\Java\jre6&#8243; [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=204&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Download API Tools from <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&#038;categoryID=88" rel="nofollow">http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&#038;categoryID=88</a></p>
<p>Extract the zip file to C:\ folder (to avoid paths with quotes issues in windows). I also renamed the folder to &#8220;ec2-api-tools&#8221;</p>
<p>Set Java Home Environment Variable. Usually this looks like &#8220;C:\Program Files\Java\jrexxx&#8221;. Find out exact path on your computer</p>
<p>From Command Prompt</p>
<p>&gt; cd C:\ec2-api-tools<br />
&gt; set JAVA_HOME=&#8221;C:\Program Files\Java\jre6&#8243;</p>
<p>Set EC2_HOME variable</p>
<p>&gt; set EC2_HOME=C:\ec2-api-tools</p>
<p>Now Get Private key and Certificate Files and keep in  C:\ec2-api-tools\keys\ folder for convenience.</p>
<p>Now you can test api-tools</p>
<p>&gt; C:\ec2-api-tools\bin&gt;ec2-describe-availability-zones -K C:\ec2-api-tools\keys\pk-xxx.pem -C C:\ec2-api-tools\keys\cert-xxx.pem</p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=204&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nlakkakula.wordpress.com/2010/03/09/how-to-setup-ec2-api-command-line-tools-on-windows-pc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff785c6f8d152c0ce62eff3faafef2b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Bob</media:title>
		</media:content>
	</item>
		<item>
		<title>How to debug MySQL Connector Library in Visual Studio</title>
		<link>http://nlakkakula.wordpress.com/2009/12/25/how-to-debug-mysql-connector-library-in-visual-studio/</link>
		<comments>http://nlakkakula.wordpress.com/2009/12/25/how-to-debug-mysql-connector-library-in-visual-studio/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 21:48:37 +0000</pubDate>
		<dc:creator>Bob Lakkakula</dc:creator>
				<category><![CDATA[.NET 3.5]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Connector/.NET]]></category>
		<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://nlakkakula.wordpress.com/?p=192</guid>
		<description><![CDATA[In text: 1. Download &#8220;mysql-connector-net-6.2.2-src.zip&#8221;  from http://dev.mysql.com/downloads/connector/net/ and extract the zip file.  Note that we need &#8216;src&#8217; version of library if we want to debug in visual studio. 2. Open your Visual Studio Solution and add  &#8221;Mysql.data.csproj&#8221;  located at  &#8220;MySql.Data\Provider\&#8221; inside the extracted archive. 3. Add this project&#8217;s reference to your project (mysql.data). 4. Now you [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=192&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='480' height='300' src='http://www.youtube.com/embed/YhpXtYO4K-o?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>In text:</p>
<p>1. Download &#8220;mysql-connector-net-6.2.2-src.zip&#8221;  from <a href="http://dev.mysql.com/downloads/connector/net/">http://dev.mysql.com/downloads/connector/net/</a> and extract the zip file.  Note that we need &#8216;src&#8217; version of library if we want to debug in visual studio.</p>
<p>2. Open your Visual Studio Solution and add  &#8221;Mysql.data.csproj&#8221;  located at  &#8220;MySql.Data\Provider\&#8221; inside the extracted archive.</p>
<p>3. Add this project&#8217;s reference to your project (mysql.data).</p>
<p>4. Now you can debug into mysql.data methods.</p>
<br /> Tagged: Connector/.NET, Debugging, MySQL, Visual Studio <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=192&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nlakkakula.wordpress.com/2009/12/25/how-to-debug-mysql-connector-library-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff785c6f8d152c0ce62eff3faafef2b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Bob</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick How To: Record SQL Results to Text File in PostgreSQL</title>
		<link>http://nlakkakula.wordpress.com/2009/12/02/quick-how-to-record-sql-results-to-text-file-in-postgresql/</link>
		<comments>http://nlakkakula.wordpress.com/2009/12/02/quick-how-to-record-sql-results-to-text-file-in-postgresql/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 04:10:40 +0000</pubDate>
		<dc:creator>Bob Lakkakula</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://nlakkakula.wordpress.com/?p=183</guid>
		<description><![CDATA[Once you connected using psql, # \o  /tmp/myrecord.txt Then run any SQL queries you want.  They wont be visible on screen But will be recored to /tmp/myrecord.txt #  SELECT * FROM my_super_dummy_table; #\q<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=183&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Once you connected using psql,</p>
<p># \o  /tmp/myrecord.txt</p>
<p>Then run any SQL queries you want.  They wont be visible on screen But will be recored to /tmp/myrecord.txt</p>
<p>#  SELECT * FROM my_super_dummy_table;</p>
<p>#\q</p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=183&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nlakkakula.wordpress.com/2009/12/02/quick-how-to-record-sql-results-to-text-file-in-postgresql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff785c6f8d152c0ce62eff3faafef2b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Bob</media:title>
		</media:content>
	</item>
		<item>
		<title>How To: Rails with SQL Server 2008</title>
		<link>http://nlakkakula.wordpress.com/2009/11/01/how-to-rails-with-sql-server-2008/</link>
		<comments>http://nlakkakula.wordpress.com/2009/11/01/how-to-rails-with-sql-server-2008/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 16:40:30 +0000</pubDate>
		<dc:creator>Bob Lakkakula</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nlakkakula.wordpress.com/?p=173</guid>
		<description><![CDATA[Most common database used with Rails is mySQL but if you ever need to use SQL Server, here is a quick how to. I am using  Windows Vista, SQL Server 2008, Rails 2.2. 1)  Install  activerecord-sqlserver-adapter gem  &#62; gem install activerecord-sqlserver-adapter   2) Create a new Login for this new database (say testuser) using SQL Server [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=173&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://nlakkakula.files.wordpress.com/2009/11/capture3.jpg"></a>Most common database used with Rails is mySQL but if you ever need to use SQL Server, here is a quick how to.</p>
<p>I am using  Windows Vista, SQL Server 2008, Rails 2.2.</p>
<p>1)  Install  activerecord-sqlserver-adapter gem</p>
<p> &gt; gem install activerecord-sqlserver-adapter</p>
<p> <a href="http://nlakkakula.files.wordpress.com/2009/11/capture11.jpg"><img class="alignnone size-medium wp-image-176" title="Capture1" src="http://nlakkakula.files.wordpress.com/2009/11/capture11.jpg?w=300&#038;h=129" alt="Capture1" width="300" height="129" /></a></p>
<p>2) Create a new Login for this new database (say testuser) using SQL Server Management Studio</p>
<p><a href="http://nlakkakula.files.wordpress.com/2009/11/capture3.jpg"><img title="Capture3" src="http://nlakkakula.files.wordpress.com/2009/11/capture3.jpg?w=300&#038;h=189" alt="Capture3" width="300" height="189" /></a></p>
<p>3) Create a new database in SQL Server 2008 for your project (say testproject) and choose testuser as Owner</p>
<p><a href="http://nlakkakula.files.wordpress.com/2009/11/capture3.jpg"><img class="alignnone size-medium wp-image-178" title="Capture3" src="http://nlakkakula.files.wordpress.com/2009/11/capture3.jpg?w=300&#038;h=189" alt="Capture3" width="300" height="189" /></a></p>
<p>4) Create a new ODBC DNS</p>
<p>Control Panel -&gt; Administrative Tools -&gt; Data Sources (ODBC)</p>
<p><a href="http://nlakkakula.files.wordpress.com/2009/11/capture5.jpg"><img class="alignnone size-medium wp-image-180" title="Capture5" src="http://nlakkakula.files.wordpress.com/2009/11/capture5.jpg?w=300&#038;h=247" alt="Capture5" width="300" height="247" /></a><a href="http://nlakkakula.files.wordpress.com/2009/11/capture4.jpg"></a></p>
<p>Add a new &#8216;User DSN&#8217;,  choose SQL Server,  give a name for DSN (say testprojectconn) then configure SQL Server authentication.</p>
<p>5) Now create your rails application as usual.  Configure db connection using database.yml as follows</p>
<p>  adapter: sqlserver<br />
  mode: odbc<br />
  dsn: testprojectconn<br />
  host: localhost<br />
  username: testuser<br />
  password: testpass<br />
  encoding: utf8</p>
<p>Thats it!</p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=173&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nlakkakula.wordpress.com/2009/11/01/how-to-rails-with-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:thumbnail url="http://nlakkakula.files.wordpress.com/2009/11/capture1.jpg?w=150" />
		<media:content url="http://nlakkakula.files.wordpress.com/2009/11/capture1.jpg?w=150" medium="image">
			<media:title type="html">Capture1</media:title>
		</media:content>

		<media:content url="http://0.gravatar.com/avatar/6ff785c6f8d152c0ce62eff3faafef2b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Bob</media:title>
		</media:content>

		<media:content url="http://nlakkakula.files.wordpress.com/2009/11/capture11.jpg?w=300" medium="image">
			<media:title type="html">Capture1</media:title>
		</media:content>

		<media:content url="http://nlakkakula.files.wordpress.com/2009/11/capture3.jpg?w=300" medium="image">
			<media:title type="html">Capture3</media:title>
		</media:content>

		<media:content url="http://nlakkakula.files.wordpress.com/2009/11/capture3.jpg?w=300" medium="image">
			<media:title type="html">Capture3</media:title>
		</media:content>

		<media:content url="http://nlakkakula.files.wordpress.com/2009/11/capture5.jpg?w=300" medium="image">
			<media:title type="html">Capture5</media:title>
		</media:content>
	</item>
		<item>
		<title>How to setup a Cisco VPN Client on CentOS 5.3</title>
		<link>http://nlakkakula.wordpress.com/2009/10/25/how-to-setup-a-cisco-vpn-client-on-centos-5-3/</link>
		<comments>http://nlakkakula.wordpress.com/2009/10/25/how-to-setup-a-cisco-vpn-client-on-centos-5-3/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 03:22:35 +0000</pubDate>
		<dc:creator>Bob Lakkakula</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://nlakkakula.wordpress.com/?p=166</guid>
		<description><![CDATA[installing and using vpnc: a vpn client on linux<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=166&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This blog post deals with VPNC (<a href="http://www.unix-ag.uni-kl.de/~massar/vpnc/">http://www.unix-ag.uni-kl.de/~massar/vpnc/</a>) : an alternative to Cisco&#8217;s linux version client.  If you happy with cisco&#8217;s client and were able to install it successfully then you can skip the rest of the blog. </p>
<p>Most of the information can be found at original sources <a href="http://wiki.centos.org/AdditionalResources/Repositories/RPMForge">http://wiki.centos.org/AdditionalResources/Repositories/RPMForge</a>  and <a href="http://wiki.centos.org/HowTos/vpnc">http://wiki.centos.org/HowTos/vpnc</a> </p>
<p>Only issue you might face is installing yum prorities using yum. That is broken in CentOS 5.3 (atleast til I tried). So here are the steps involved. </p>
<p>1) Install Yum Prorities</p>
<p>Install prorities using rpm instead of yum.</p>
<address><span style="color:#0000ff;">wget </span><span style="color:#0000ff;"><a href="http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-priorities-1.1.16-13.el5.centos.noarch.rpm    " rel="nofollow">http://mirror.centos.org/centos-5/5.3/os/i386/CentOS/yum-priorities-1.1.16-13.el5.centos.noarch.rpm    </a><br />
</span></address>
<address><span style="color:#0000ff;">rpm -ivh yum-priorities-1.1.16-13.el5.centos.noarch.rpm</span></address>
<address>                     <br />
2) Check if plugin is enabled (see <a href="http://wiki.centos.org/AdditionalResources/Repositories/RPMForge">http://wiki.centos.org/AdditionalResources/Repositories/RPMForge</a> for details)</address>
<p><span style="color:#0000ff;">nano /etc/yum/pluginconf.d/priorities.conf</span></p>
<p>3) Update Proirities for repo files</p>
<p><span style="color:#0000ff;">nano /etc/yum.repos.d/CentOS-Base.repo</span></p>
<p>4) Install rpm forge</p>
<address><span style="color:#0000ff;">wget </span><span style="color:#0000ff;"><a href="http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm" rel="nofollow">http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm</a></span></address>
<address><span style="color:#0000ff;">rpm &#8211;import </span><span style="color:#0000ff;"><a href="http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt" rel="nofollow">http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt</a></span></address>
<address><span style="color:#0000ff;">rpm -K rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm<br />
rpm -i rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm</span></address>
<p>5) Update prority for rpmforge repo file</p>
<address><span style="color:#0000ff;">nano /etc/yum.repos.d/rpmforge.repo</span></address>
<p>6) Update yum to start using priorirites and rpmforge as source.</p>
<address><span style="color:#0000ff;">yum check-update</span></address>
<p>7) install VPNC</p>
<address><span style="color:#0000ff;">yum -y install vpnc</span></address>
<p>Now vpnc is installed.  Follow <a href="http://wiki.centos.org/HowTos/vpnc">http://wiki.centos.org/HowTos/vpnc</a> to know how to use it.</p>
<br /> Tagged: CentOS, Linux, VPN <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=166&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nlakkakula.wordpress.com/2009/10/25/how-to-setup-a-cisco-vpn-client-on-centos-5-3/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff785c6f8d152c0ce62eff3faafef2b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Bob</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Quickly Visualize/Analyze a MySQL Database?</title>
		<link>http://nlakkakula.wordpress.com/2009/10/25/how-to-quickly-visualizeanalyze-a-new-mysql-database/</link>
		<comments>http://nlakkakula.wordpress.com/2009/10/25/how-to-quickly-visualizeanalyze-a-new-mysql-database/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 02:54:44 +0000</pubDate>
		<dc:creator>Bob Lakkakula</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Schema]]></category>
		<category><![CDATA[Visualize Schema]]></category>

		<guid isPermaLink="false">http://nlakkakula.wordpress.com/?p=161</guid>
		<description><![CDATA[quickly visualize a mysql database using schemaspy.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=161&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Once in a while we been in situations where you need to quickly understand/analyze a database given to you by others.  We can go through each table and try to understand but it is usually lot simpler if you can visualize all the tables involved and relationships between those.  Enter SchemaSpy: a free tool to do that.    For sake of specifics, say the database given is MySQL and your pc is running some version of Windows.</p>
<p>A. Download and Install Pre-requsites (if you dont have already)</p>
<ul>
<li>Graphviz  (<a href="http://www.graphviz.org/Download_windows.php">http://www.graphviz.org/Download_windows.php</a>)
<ul>
<li>use MSI installer (see warnings specific to vista on the download page)</li>
</ul>
</li>
<li>Java (<a href="http://www.java.com/en/download/index.jsp">http://www.java.com/en/download/index.jsp</a>)
<ul>
<li>Download and install Java as usual.</li>
</ul>
</li>
<li>JDBC driver for mySQL ( <a href="http://dev.mysql.com/downloads/connector/j/5.1.html">http://dev.mysql.com/downloads/connector/j/5.1.html</a>)
<ul>
<li>Download driver and extract to a known location (say C:\mydblayout)</li>
</ul>
</li>
</ul>
<p>B. Download latest SchemaSpy Jar File  from <a href="http://sourceforge.net/projects/schemaspy/files/">http://sourceforge.net/projects/schemaspy/files/</a>   (In my case it is schemaSpy_4.1.1.jar)  to a known location (using same C:\mydblayout)</p>
<p>Now run the schemaspy to generate report (html format) for database &#8221;mytestdb&#8221;  which is sitting at a local mySQL server.</p>
<address><strong><span style="color:#0000ff;">C:\mydblayout&gt;java -jar schemaSpy_4.1.1.jar -t mysql </span></strong></address>
<address><strong><span style="color:#0000ff;"> </span></strong><strong><span style="color:#0000ff;">-dp mysql-connector-java-5.1.10\mysql-connector-java-5.1.10\mysql-connector-java-5.1.10-bin.jar </span></strong></address>
<address><strong><span style="color:#0000ff;">-db mysql -host localhost -u root -p mysecretpass -o mytestdb_report</span></strong></address>
<p>See how -dp flag is used to point to jdbc driver.  The above command creates a folder called &#8220;mytestdb_report&#8221;  with all the nice html files.  Just open the &#8220;index.html&#8221; file.</p>
<p>For example output see <a href="http://schemaspy.sourceforge.net/unifieddb/characters/index.html">http://schemaspy.sourceforge.net/unifieddb/characters/index.html</a></p>
<p>For more details, look at web page of  this wonderful SchemaSpy (<a href="http://schemaspy.sourceforge.net/">http://schemaspy.sourceforge.net/</a>) written by John Currier.</p>
<br /> Tagged: MySQL, Schema, Visualize Schema <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=161&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nlakkakula.wordpress.com/2009/10/25/how-to-quickly-visualizeanalyze-a-new-mysql-database/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff785c6f8d152c0ce62eff3faafef2b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Bob</media:title>
		</media:content>
	</item>
		<item>
		<title>Having trouble debugging VS 2003/2005 Projects after upgrading to IE 8 ?</title>
		<link>http://nlakkakula.wordpress.com/2009/09/11/having-trouble-debugging-vs-20032005-projects-after-upgrading-to-ie-8/</link>
		<comments>http://nlakkakula.wordpress.com/2009/09/11/having-trouble-debugging-vs-20032005-projects-after-upgrading-to-ie-8/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 14:38:38 +0000</pubDate>
		<dc:creator>Bob Lakkakula</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://nlakkakula.wordpress.com/?p=159</guid>
		<description><![CDATA[Close all IE8 windows&#8230; if you have any IE window open, then VS cant start debugger&#8230;. Its not a problem with VS2008 Close all IE8 windows&#8230; if you have any IE window open, then VS cant start debugger&#8230;. Its not a problem with VS2008 onwards.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=159&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">Close all IE8 windows&#8230;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">if you have any IE window open, then VS cant start debugger&#8230;.</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">Its not a problem with VS2008</div>
<p>Close all IE8 windows&#8230;</p>
<p>if you have any IE window open, then VS cant start debugger&#8230;.</p>
<p>Its not a problem with VS2008 onwards.</p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=159&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nlakkakula.wordpress.com/2009/09/11/having-trouble-debugging-vs-20032005-projects-after-upgrading-to-ie-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff785c6f8d152c0ce62eff3faafef2b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Bob</media:title>
		</media:content>
	</item>
		<item>
		<title>Security Hole in IPhone with AT&amp;T</title>
		<link>http://nlakkakula.wordpress.com/2009/09/05/security-hole-in-iphone-and-att/</link>
		<comments>http://nlakkakula.wordpress.com/2009/09/05/security-hole-in-iphone-and-att/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 14:53:14 +0000</pubDate>
		<dc:creator>Bob Lakkakula</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Iphone]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Voice mail]]></category>

		<guid isPermaLink="false">http://nlakkakula.wordpress.com/?p=145</guid>
		<description><![CDATA[IPhone voicemail is exposed to world unless you set password. How to setup password is explained.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=145&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>To be more precise, the security hole is with the network (AT&amp;T network) IPhone uses. I noticed this problem while working on a Voice-enabled application using Asterisk and surprised to see that my voicemail is wideopen to public. Then later found out that this has been reported earlier by various folks (<a href="http://friendsofdave.org/node/910">here</a> and<a href="http://www.oreillynet.com/onlamp/blog/2007/06/iphone_users_att_cingular_voic.html"> here</a>) but seems like it is not fixed yet. So if you own an IPhone (or any other phone for that matter) with AT&amp;T network, please keep  reading and I show you how to fix the problem yourself.</p>
<h2><span style="color:#3366ff;">So what is the problem?</span></h2>
<p>Others can listen to your voice mail, change your personal greeting and other settings.   AT&amp;T voicemail identifies user based on incoming caller ID, so if callerID matches the phone # you are calling from, it assumes that you are calling yourself to check voice mail then it simply goes to voice mail (if you don&#8217;t have password set).</p>
<h2><span style="color:#3366ff;">Am I protected or Not?</span></h2>
<p> Call yourself with your phone (by dialing 1 or dialing your number).  If you are prompted for a password, then you are fine.  If it takes your directly to  voice mail menu, then you are NOT secured. See how to set password below.</p>
<h2><span style="color:#3366ff;">How to protect my voice mail?</span></h2>
<p>Dial 1 to call Voicemail from your phone</p>
<p>Press * to get to the voicemail Main Menu</p>
<ul>
<li>Press 4 for Personal Options</li>
<li>Press 2 for Administrative Options</li>
<li>Press 1 for Passwords</li>
<li>Press 2 to turn password on</li>
<li>Select any random 4– to 14–digit password</li>
</ul>
<p> </p>
<h2><span style="color:#3366ff;">Why I am blogging this?</span></h2>
<p> I don&#8217;t know if new AT&amp;T users may be forced to set password or not, but when I got my phone couple of years back and my voicemail was setup without password.  It ended up that most of my friends with IPhone also don&#8217;t have password setup for voicemail because simply they are not aware of the security hole.   With easy access to Open source PBX like Asterisk or spoofing calling cards, its not hard to exploit this security hole.  So if this blog helps people to realize how important is to set password, then my job is done.</p>
<h2><span style="color:#3366ff;">Disclaimer</span></h2>
<p><em>The opinions expressed in this blog post are my own and not of any company. The usual standard disclaimer applies, especially the fact that I am not liable for any damages caused by direct or  indirect use of the information.  I bear NO responsibility for content or misuse of this information or any derivatives thereof.  <em>This post is NO WAY intended  to blame anyone, especially  AT&amp;T.  They may have already posted about this issue somewhere on their website. </em></em></p>
<br /> Tagged: Asterisk, Iphone, Security, Voice mail <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=145&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nlakkakula.wordpress.com/2009/09/05/security-hole-in-iphone-and-att/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff785c6f8d152c0ce62eff3faafef2b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Bob</media:title>
		</media:content>
	</item>
		<item>
		<title>Nice and easy tool tip</title>
		<link>http://nlakkakula.wordpress.com/2009/07/16/nice-and-easy-tool-tip/</link>
		<comments>http://nlakkakula.wordpress.com/2009/07/16/nice-and-easy-tool-tip/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 18:02:58 +0000</pubDate>
		<dc:creator>Bob Lakkakula</dc:creator>
				<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://nlakkakula.wordpress.com/?p=186</guid>
		<description><![CDATA[I found this snippet of code from somewhere on internet which is simple yet elegant.  Idea here is pretty simple:  hide tooltip originally using CSS display property and show it when mouse hover over it. Usage : &#60;a class=&#8217;tooltip&#8217; href=&#8217;#'&#62;link text goes here &#60;span&#62; tool tip text goes here&#8230;.&#60;/span&#62;&#60;/a&#62; CSS needed: &#60;style type=&#8221;text/css&#8221;&#62; a:hover {background:#ffffff; [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=186&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I found this snippet of code from somewhere on internet which is simple yet elegant.  Idea here is pretty simple:  hide tooltip originally using CSS display property and show it when mouse hover over it.</p>
<p>Usage :</p>
<p>&lt;a class=&#8217;tooltip&#8217; href=&#8217;#'&gt;link text goes here &lt;span&gt; tool tip text goes here&#8230;.&lt;/span&gt;&lt;/a&gt;</p>
<p>CSS needed:</p>
<p>&lt;style type=&#8221;text/css&#8221;&gt;</p>
<p>a:hover {background:#ffffff; text-decoration:none;}<br />
a.tooltip span {display:none; padding:2px 3px; margin-left:8px; width:130px;}<br />
a.tooltip:hover span{display:inline; position:absolute; background:#ffffff; border:1px solid #cccccc; color:#6c6c6c;}</p>
<p>&lt;/style&gt;</p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=186&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nlakkakula.wordpress.com/2009/07/16/nice-and-easy-tool-tip/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff785c6f8d152c0ce62eff3faafef2b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Bob</media:title>
		</media:content>
	</item>
		<item>
		<title>Interesting comments found on other technical blogs</title>
		<link>http://nlakkakula.wordpress.com/2009/02/22/comments-found-on-other-technical-blogs/</link>
		<comments>http://nlakkakula.wordpress.com/2009/02/22/comments-found-on-other-technical-blogs/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 18:08:15 +0000</pubDate>
		<dc:creator>Bob Lakkakula</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nlakkakula.wordpress.com/?p=188</guid>
		<description><![CDATA[&#8220;If it is fast and ugly, they will use it and curse you; if it is slow, they will not use it.&#8221;- David Cheriton,  The Art of Computer Systems Performance Analysis (From http://www.kriskrause.com/2009/04/mysql-connector-net-mysqlbulkloader.html) Weighing cost versus reliability is always a difficult choice in systems administration. (From http://www.linuxhomenetworking.com/wiki/index.php) I have noticed that people who hate George [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=188&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>&#8220;If it is fast and ugly, they will use it and curse you; if it is slow, they will not use it.&#8221;- David Cheriton,  The Art of Computer Systems Performance Analysis (From <a href="http://www.kriskrause.com/2009/04/mysql-connector-net-mysqlbulkloader.html">http://www.kriskrause.com/2009/04/mysql-connector-net-mysqlbulkloader.html</a>)</p>
<p>Weighing cost versus reliability is always a difficult choice in systems administration. (From <a href="http://www.linuxhomenetworking.com/wiki/index.php">http://www.linuxhomenetworking.com/wiki/index.php</a>)</p>
<p>I have noticed that people who hate George Bush also hate internet explorer and Windows in general. You people are mentally ill, sorry to say. (From <a href="http://sql-info.de/en/mysql/gotchas.html#1_5">http://sql-info.de/en/mysql/gotchas.html#1_5</a> )</p>
<br />  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nlakkakula.wordpress.com&#038;blog=1169014&#038;post=188&#038;subd=nlakkakula&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nlakkakula.wordpress.com/2009/02/22/comments-found-on-other-technical-blogs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6ff785c6f8d152c0ce62eff3faafef2b?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96" medium="image">
			<media:title type="html">Bob</media:title>
		</media:content>
	</item>
	</channel>
</rss>
