<?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>Sid? What is he on about now? &#187; Mysql</title>
	<atom:link href="http://sidrit.wordpress.com/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://sidrit.wordpress.com</link>
	<description>The Almost-Daily Issue</description>
	<lastBuildDate>Fri, 23 Jan 2009 14:28:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='sidrit.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/f5c4786753302ab3b2733320c76230af?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Sid? What is he on about now? &#187; Mysql</title>
		<link>http://sidrit.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sidrit.wordpress.com/osd.xml" title="Sid? What is he on about now?" />
		<item>
		<title>Remotely monitoring MySql databases with Mytop and Terminator</title>
		<link>http://sidrit.wordpress.com/2008/10/21/remotely-monitoring-mysql-databases-with-mytop-and-terminator/</link>
		<comments>http://sidrit.wordpress.com/2008/10/21/remotely-monitoring-mysql-databases-with-mytop-and-terminator/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 11:19:58 +0000</pubDate>
		<dc:creator>Sidrit Trandafili</dc:creator>
				<category><![CDATA[Fix-it !]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Splurge]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[mytop]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[terminator]]></category>
		<category><![CDATA[top]]></category>

		<guid isPermaLink="false">http://sidrit.wordpress.com/?p=239</guid>
		<description><![CDATA[When finding yourself maintaining Mysql servers within a cluster, network, or even further spread out, it becomes very handy, for monitoring purposes, to take a peak at the activities of Mysql.

A very useful little tool that helps doing this, is MyTop
mytop is a console-based (non-gui) tool for monitoring the threads and overall performance of a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=239&subd=sidrit&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When finding yourself maintaining Mysql servers within a cluster, network, or even further spread out, it becomes very handy, for monitoring purposes, to take a peak at the activities of Mysql.<br />
<iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Flinux_unix%2FRemotely_monitoring_MySql_with_Mytop_and_Terminator' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe><br />
A very useful little tool that helps doing this, is <a href="http://jeremy.zawodny.com/mysql/mytop/">MyTop</a></p>
<blockquote><p>mytop is a console-based (non-gui) tool for monitoring the threads and overall performance of a MySQL 3.22.x, 3.23.x, and 4.x server. It runs on most Unix systems (including Mac OS X) which have Perl, DBI, and Term::ReadKey installed. And with Term::ANSIColor installed you even get color. If you install Time::HiRes, you&#8217;ll get good real-time queries/second stats. As of version 0.7, it even runs on Windows (somewhat).</p></blockquote>
<p>The source can be found on the official page. For ubuntu, the package is in the repositories, and this is the case we&#8217;ll be talking about.</p>
<p><span id="more-239"></span></p>
<p><code>sudo apt-get install mytop</code></p>
<p>After the installation, in your home folder you will be able to find the configuration file.<br />
To set a few predefined parameters we can edit this file.</p>
<p><code>gedit ~/.mytop</code></p>
<p>For example, my configuration file looks like this:</p>
<p><code>  user=sid<br />
  pass=********<br />
  host=xxx.xxx.xxx.xxx<br />
  delay=5<br />
  port=3306<br />
  socket=<br />
  batchmode=0<br />
  header=1<br />
  color=1<br />
  idle=1</code></p>
<p>where of course ***** is replaced with your password.<br />
These parameters defined in the file will be the default ones if you start mytop from the command line with no options. Alternatively, all of the above can be overriden.<br />
<code><br />
-u username<br />
-p password<br />
-h host<br />
-d database<br />
</code><br />
and so on. for more details take a look at the mytop man page.</p>
<p>Another thing to be kept in mind is that, if you&#8217;re going to check a machine other than localhost you need to have the correct permissions in my Mysql user table to do that.</p>
<p>In combination with this, there&#8217;s another nifty piece of software called <a href="https://launchpad.net/terminator/+download">Terminator.</a></p>
<blockquote><p>Terminator, multiple terminals in one window. The goal of this project is to produce a useful tool for arranging terminals. It is inspired by programs such as gnome-multi-term, quadkonsole, etc. in that the main focus is arranging terminals in grids (tabs is the most common default method, which Terminator also supports).</p></blockquote>
<p>So basically what Terminator does , is split your normal gnome-terminal window in as many sections as you wish, the way you wish, dropping you into the command line into each one of them.</p>
<p>The output : </p>
<p><a href="http://sidrit.files.wordpress.com/2008/10/mytop_terminator2.png"><img src="http://sidrit.files.wordpress.com/2008/10/mytop_terminator2.png?w=510&#038;h=408" alt="" title="mytop_terminator2" width="510" height="408" class="aligncenter size-large wp-image-250" /></a></p>
Posted in Fix-it !, Free Software, Howto, Linux, Mysql, Splurge, Ubuntu Tagged: Howto, Linux, Mysql, mytop, remote, terminator, top, Ubuntu <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sidrit.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sidrit.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sidrit.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sidrit.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sidrit.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sidrit.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sidrit.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sidrit.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sidrit.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sidrit.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=239&subd=sidrit&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sidrit.wordpress.com/2008/10/21/remotely-monitoring-mysql-databases-with-mytop-and-terminator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sidrit Trandafili</media:title>
		</media:content>

		<media:content url="http://sidrit.files.wordpress.com/2008/10/mytop_terminator2.png?w=510" medium="image">
			<media:title type="html">mytop_terminator2</media:title>
		</media:content>
	</item>
		<item>
		<title>LAMP ( Linux, Apache, MySql, Php ) Server on Ubuntu 8.04</title>
		<link>http://sidrit.wordpress.com/2008/08/03/lamp-linux-apache-mysql-php-server-on-ubuntu-804/</link>
		<comments>http://sidrit.wordpress.com/2008/08/03/lamp-linux-apache-mysql-php-server-on-ubuntu-804/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 21:29:14 +0000</pubDate>
		<dc:creator>Sidrit Trandafili</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Splurge]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Hardy]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://sidrit.wordpress.com/?p=94</guid>
		<description><![CDATA[
In a post, a few days ago, i described how i had to restore and reinstall my system.
Meaning daily, i&#8217;ve been finding some of the software i need and reinstalling it.
So here i found myself needing to make use of a Lamp server on my laptop.
There&#8217;s literally thousands of guides about how to achieve this. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=94&subd=sidrit&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Flinux_unix%2FLAMP_Linux_Apache_MySql_Php_Server_on_Ubuntu_8_04' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe><br />
In a post, a few days ago, i described how i had to restore and reinstall my system.<br />
Meaning daily, i&#8217;ve been finding some of the software i need and reinstalling it.</p>
<p>So here i found myself needing to make use of a Lamp server on my laptop.<br />
There&#8217;s literally thousands of guides about how to achieve this. Fact is that, on Ubuntu 8.04 (Hardy Heron ), it can be reduced to a few easy steps, and all the trick is done.</p>
<p>Once more, for the sake of clarity, and to spare some time:</p>
<p>Install mysql<br />
<code>sudo apt-get install mysql-server-5.0</code></p>
<p>Install Apache2<br />
<code>sudo apt-get install apache2</code></p>
<p>Install php and the apache module for it<br />
<code>sudo apt-get install php5 libapache2-mod-php5</code></p>
<p>Reboot apache (very important)<br />
<code>sudo /etc/init.d/apache2 restart</code></p>
<p>PhpMyAdmin, if you need it<br />
<code>sudo apt-get install phpmyadmin</code></p>
<p>That&#8217;s all folks!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sidrit.wordpress.com/94/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sidrit.wordpress.com/94/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sidrit.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sidrit.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sidrit.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sidrit.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sidrit.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sidrit.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sidrit.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sidrit.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sidrit.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sidrit.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sidrit.wordpress.com&blog=975087&post=94&subd=sidrit&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sidrit.wordpress.com/2008/08/03/lamp-linux-apache-mysql-php-server-on-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Sidrit Trandafili</media:title>
		</media:content>
	</item>
	</channel>
</rss>