<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Webyog</title>
	
	<link>http://www.webyog.com/blog</link>
	<description>MySQL Monitoring &amp; GUI Tools</description>
	<lastBuildDate>Fri, 03 Feb 2012 10:55:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Webyog" /><feedburner:info uri="webyog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Log security and log tables.</title>
		<link>http://www.webyog.com/blog/2012/02/03/log-security-and-log-tables/</link>
		<comments>http://www.webyog.com/blog/2012/02/03/log-security-and-log-tables/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 10:55:07 +0000</pubDate>
		<dc:creator>peter_laursen</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.webyog.com/blog/?p=3526</guid>
		<description><![CDATA[Accidentially I came across the statement &#8220;SHOW GRANTS requires the SELECT privilege for the mysql database.&#8221; in MySQL  documentation (http://dev.mysql.com/doc/refman/5.1/en/show-grants.html). It is not quite true. Any user can &#8220;SHOW GRANTS [FOR himself]&#8221; with no privileges at all. But more important: SELECT priviege is requried on database-level,  Privilege to the privileges tables is not enough.  See [...]]]></description>
			<content:encoded><![CDATA[<p>Accidentially I came across the statement <strong><em>&#8220;SHOW GRANTS requires the SELECT privilege for the mysql database.&#8221;</em></strong> in MySQL  documentation (<a href="http://dev.mysql.com/doc/refman/5.1/en/show-grants.html">http://dev.mysql.com/doc/refman/5.1/en/show-grants.html</a>).</p>
<p>It is not quite true. Any user can &#8220;SHOW GRANTS [FOR himself]&#8221; with no privileges at all. But more important: SELECT priviege is requried <strong>on database-leve</strong><strong>l</strong>,  Privilege to the <strong>privileges table</strong><strong>s</strong> is not enough.  See</p>
<p><em>SHOW GRANTS;</em><br />
<em>/*returns</em></p>
<p><em> </em></p>
<p><em>Grants for me@%</em><em><br />
</em><em> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</em><em><br />
</em><em>GRANT USAGE ON *.* TO &#8216;me&#8217;@'%&#8217;</em><em><br />
</em><em>GRANT SELECT ON `mysql`.`user` TO &#8216;me&#8217;@'%&#8217;</em><em><br />
</em><em>GRANT SELECT ON `mysql`.`tables_priv` TO &#8216;me&#8217;@'%&#8217;</em><em><br />
</em><em>GRANT SELECT ON `mysql`.`procs_priv` TO &#8216;me&#8217;@'%&#8217;</em><em><br />
</em><em>GRANT SELECT ON `mysql`.`db` TO &#8216;me&#8217;@'%&#8217;</em><em><br />
</em><em>GRANT SELECT ON `mysql`.`columns_priv` TO &#8216;me&#8217;@'%&#8217;*/</em></p>
<p><em> </em></p>
<p><em>SHOW GRANTS FOR root@localhost;</em><em><br />
</em><em> /*returns</em></p>
<p><em>Error Code: 1044</em><em><br />
</em><em> Access denied for user &#8216;me&#8217;@'%&#8217; to database &#8216;mysql&#8217; */</em></p>
<p>Anybody having SELECT privilege to the mysql database can read logs if you use log tables. And unlike when logging to files (where you can specify logfile paths)  there is no option to specify another database for the log tables.</p>
<p>I think it is a serious security flaw. The reason is that a log may contain data. That may be private data (email addresses, bank account numbers .. you name it). Consider a statement like</p>
<p><em>UPDATE `identity`SET  `bank_account_no` =  &#8230;.. WHERE social_security_id = &#8230;.. ;</em></p>
<p>You should have SELECT privilege to the `identity` table to see those data. But if you can read logs you need not.</p>
<p>I don&#8217;t claim all applications would send such statements (but I believe that some will do).  You can avoid it to some extent by using user variables, hashes, or by writing complex statements with JOINs and SUBQUERIES so that you don&#8217;t need to &#8216;ping-pong&#8217; data from the server to the application and back (but it may conflict with performance in particular if SUBQUERIES are used).</p>
<p>So you should be careful with logging to tables. Not only is performance not good, but there are security concerns. Who should be allowed to see the logs? (but still log tables may be convenient for a test/development scenario though.)</p>
<p>I posted this bug report: <a href="http://bugs.mysql.com/bug.php?id=64215">http://bugs.mysql.com/bug.php?id=64215</a></p>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.webyog.com%2Fblog%2F2012%2F02%2F03%2Flog-security-and-log-tables%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.webyog.com/blog/2012/02/03/log-security-and-log-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLyog MySQL GUI 9.6 beta 2 Released</title>
		<link>http://www.webyog.com/blog/2012/02/02/sqlyog-mysql-gui-9-6-beta-2-released/</link>
		<comments>http://www.webyog.com/blog/2012/02/02/sqlyog-mysql-gui-9-6-beta-2-released/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 14:24:03 +0000</pubDate>
		<dc:creator>peter_laursen</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[SQLyog]]></category>

		<guid isPermaLink="false">http://www.webyog.com/blog/?p=3498</guid>
		<description><![CDATA[Changes (as compared to beta 1) include: Bug Fix: * If multiple databases with same name existed only differing in lettercase SQLyog would generate certain statements using the &#8216;mostly lowercased&#8217; database name. This bug was introduced in 9.5. Downloads: http://webyog.com/en/downloads.php Purchase: http://webyog.com/en/buy.php ﻿ Tweet]]></description>
			<content:encoded><![CDATA[<p><strong>Changes (as compared to beta 1) include:</strong></p>
<p><strong>Bug Fix:</strong><br />
* If multiple databases with same name existed only differing in lettercase SQLyog would generate certain statements using the &#8216;mostly lowercased&#8217; database name. This bug was introduced in 9.5.</p>
<p><strong>Downloads:</strong> <a href="http://webyog.com/en/downloads.php">http://webyog.com/en/downloads.php</a><br />
<strong>Purchase:</strong> <a href="http://webyog.com/en/buy.php">http://webyog.com/en/buy.php</a></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">﻿</div>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.webyog.com%2Fblog%2F2012%2F02%2F02%2Fsqlyog-mysql-gui-9-6-beta-2-released%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.webyog.com/blog/2012/02/02/sqlyog-mysql-gui-9-6-beta-2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cleanup old options!</title>
		<link>http://www.webyog.com/blog/2012/02/01/cleanup-old-options/</link>
		<comments>http://www.webyog.com/blog/2012/02/01/cleanup-old-options/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 13:00:14 +0000</pubDate>
		<dc:creator>peter_laursen</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.webyog.com/blog/?p=3516</guid>
		<description><![CDATA[In various discussions I have expressed that I think that there are way too many options and variables in MySQL (and it gets worse for every new release). There are simply too many to know and remember them all.  If you manage a server yourself  it is (probably) a minor problem as you should know [...]]]></description>
			<content:encoded><![CDATA[<p>In various discussions I have expressed that I think that there are way too many options and variables in MySQL (and it gets worse for every new release). There are simply too many to know and remember them all.  If you manage a server yourself  it is (probably) a minor problem as you should know the options you use and not use those that you don&#8217;t know.  But if you are connected to a server that you don&#8217;t manage yourself you may get surprises if some rare option you are not familiar with has been set.</p>
<p>The last one I came across is &#8216;skip-character-set-client-handshake&#8217;.  MySQL documentation http://dev.mysql.com/doc/refman/5.5/en/server-options.html says <strong><em>&#8220;To ignore client information and use the default server character set, use &#8211;skip-character-set-client-handshake; this makes MySQL behave like MySQL 4.0.&#8221;</em></strong></p>
<p>Now what is the idea in having a recent server &#8216;behave like MySQL 4.0&#8242; ?  There could have been some compatibility concerns in early 4.1/5.0 releases, but now (after 8 years) is it stilll relevant to have? I don&#8217;t think so.</p>
<p>The &#8216;chain breaks&#8217; in the case where a client (we are talking about clients compiled with the C-API or a connector having similar functionalities as mysql_options() in the C-API &#8211; what means that it is not PHP we are talking about!) requires character_set_client to be utf8.  The client will execute &#8220;SET NAMES UTF8;&#8221; after connection just in case the server has a non-utf8 default charset.  It works fine.  SET NAMES works as expected. So far so good. Futher the client is using the &#8216;reconnect flag&#8217;.  Reconnects may take place after connection was lost  in several cases (client was idle for longer than wait_timeout, some tunnel system server (SSH tunnel, VPN tunnel) disconnected client and server, intermittent hardware or networking failures etc.).  The important point to note here is that reconnect is handled by the API transparently for the &#8216;parent code&#8217; where it is linked. Thus the client cannot know  when to execute &#8220;SET NAMES UTF8;&#8221; again (as a regular SQL statement).  The client will instead set the connection charset to utf8 in mysql_options() so that utf8 also will also be character set for the connection after a reconnect.  But with the &#8216;skip-character-set-client-handshake&#8217; -option set, it simply has no efffect (the option is intended to work like this).</p>
<p>As a consequense there is no way not to have non-ASCII characters garble in the client after automatic reconnection in such environment as far as I can see.</p>
<p>We had such report recently. It took some time to figure out the reason. There is also an old related bug here http://bugs.mysql.com/bug.php?id=11972 btw, but this is fixed long ago even though I first thought it might have found its way back to PerconaServer (what was used in this particular case), it was not the case.</p>
<p>It is fair enough to have compability options with older servers for some time.  But is it still after 8 years? Also in a case like this where it breaks the way a client and the server is intended to &#8216;negotiate&#8217;  multiple charsets?</p>
<p>More old options to get rid of?  I am a collector of such! <img src='http://www.webyog.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.webyog.com%2Fblog%2F2012%2F02%2F01%2Fcleanup-old-options%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.webyog.com/blog/2012/02/01/cleanup-old-options/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MONyog 5.0 Beta 1: A brand new user interface!</title>
		<link>http://www.webyog.com/blog/2012/01/31/monyog-5-0-beta-1-a-brand-new-user-interface/</link>
		<comments>http://www.webyog.com/blog/2012/01/31/monyog-5-0-beta-1-a-brand-new-user-interface/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 14:53:51 +0000</pubDate>
		<dc:creator>peter_laursen</dc:creator>
				<category><![CDATA[MONyog]]></category>
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://www.webyog.com/blog/?p=3504</guid>
		<description><![CDATA[Important note:  if you have used a previous MONyog version you should clear the browser cache before using this build for the first time. First of all this release of MONyog gives a brand new look to MONyog&#8217;s user interface and improves navigation in the MONyog pages. As a consequence of this some controls and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Important note</strong>:  if you have used a previous MONyog version you should <strong>clear the browser cache</strong> before using this build for the first time.</p>
<p>First of all <strong>this release</strong> of MONyog <strong>gives a brand new look</strong> to MONyog&#8217;s user interface <strong>and improves navigation</strong> in the MONyog pages.</p>
<p>As a consequence of this <strong>some controls and some information has been re-arranged</strong> &#8211; including:<br />
* Introduced a left panel that contains the list of servers registered in MONyog, ‘Tools’ &amp; ‘Customize’. The &#8216;List of servers&#8217; page has been removed. Users can now select/unselect servers from this panel.<br />
* Previously available icons for Edit server/Duplicate server/Diagnostic reports etc now appear as a drop down menu next to each server.<br />
* Previously the ‘Customization’ page appeared under ‘Tools’, now it appears as ‘Customize’ on the left panel.<br />
* ‘Manage Custom SQL Objects’ are now available under ‘Manage changes’ under &#8216;Customize&#8217;.<br />
* The global notifications come on the top right hand corner before the help button.<br />
* Pagination added in Query Analyzer page. This removes the previous limitation of 200 queries in the result set.<br />
* The “Global Notifications” come on the top right hand corner next to log-out button.</p>
<p><strong>Enhancement:</strong><br />
* Enhanced browser level caching.</p>
<p><strong>Miscellaneous:</strong><br />
* The MONyog API responses are now in the following JSON format: {&#8220;STATUS&#8221;: &#8220;SUCCESS/FAILURE&#8221;, &#8220;RESPONSE&#8221; : &#8220;&lt;Response text&gt;&#8221;}.<br />
* Query Analyzer will now display query text up to 5000 characters (before it was 2000).<br />
* We have stopped supporting IE-7 (Internet explorer) from this version.</p>
<p><strong>Please note</strong> that the <strong>documentation updates are in progress</strong>, but not complete with this beta release.</p>
<p><strong>Downloads:</strong> <a href="http://webyog.com/en/downloads.php">http://webyog.com/en/downloads.php</a><br />
<strong>Purchase:</strong> <a href="http://webyog.com/en/buy.php">http://webyog.com/en/buy.php</a></p>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.webyog.com%2Fblog%2F2012%2F01%2F31%2Fmonyog-5-0-beta-1-a-brand-new-user-interface%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.webyog.com/blog/2012/01/31/monyog-5-0-beta-1-a-brand-new-user-interface/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SQLyog MySQL GUI 9.6 beta 1 Released</title>
		<link>http://www.webyog.com/blog/2012/01/24/sqlyog-mysql-gui-9-6-beta-1-released/</link>
		<comments>http://www.webyog.com/blog/2012/01/24/sqlyog-mysql-gui-9-6-beta-1-released/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 15:03:50 +0000</pubDate>
		<dc:creator>peter_laursen</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[SQLyog]]></category>

		<guid isPermaLink="false">http://www.webyog.com/blog/?p=3491</guid>
		<description><![CDATA[Changes (as compared to 9.51) include: Features: * When performing CREATE/ALTER TABLE operation from inside the Schema Designer now a dialog with a tabbed interface similar to the CREATE/ALTER TABLE tab will open. Bug fixes: * In Data Sync a low setting of  &#8217;max_allowed_packet&#8217; on source server could result in CONCAT_WS() used for checksums&#8217; calculation [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Changes (as compared to 9.51) include:</strong></p>
<p><strong>Features:</strong><br />
* When performing CREATE/ALTER TABLE operation from inside the Schema Designer now a dialog with a tabbed interface similar to the CREATE/ALTER TABLE tab will open.</p>
<p><strong>Bug fixes:</strong><br />
* In Data Sync a low setting of  &#8217;max_allowed_packet&#8217; on source server could result in CONCAT_WS() used for checksums&#8217; calculation returning NULL . We did not consider this and as a consequence rows could fail to sync without warning.  We will now abort the job with an error message (if user has selected to &#8216;abort on error&#8217;) or print an error to the sja.log file and the console (if user has selected not  to &#8216;abort on error&#8217; ) informing that some rows may have been skippped in such cases.<br />
* The fix for empty string defaults in 9.51 was not complete. It was (unlike 9.5) possible to create such default but it did not display as &#8221; after creation in ALTER TABLE.</p>
<p><strong>Downloads:</strong> <a href="http://webyog.com/en/downloads.php">http://webyog.com/en/downloads.php</a><br />
<strong>Purchase:</strong> <a href="http://webyog.com/en/buy.php">http://webyog.com/en/buy.php</a></p>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.webyog.com%2Fblog%2F2012%2F01%2F24%2Fsqlyog-mysql-gui-9-6-beta-1-released%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.webyog.com/blog/2012/01/24/sqlyog-mysql-gui-9-6-beta-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MONyog MySQL Monitor 4.81 Has Been Released</title>
		<link>http://www.webyog.com/blog/2012/01/10/monyog-mysql-monitor-4-81-has-been-released/</link>
		<comments>http://www.webyog.com/blog/2012/01/10/monyog-mysql-monitor-4-81-has-been-released/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 13:11:48 +0000</pubDate>
		<dc:creator>peter_laursen</dc:creator>
				<category><![CDATA[MONyog]]></category>
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://www.webyog.com/blog/?p=3484</guid>
		<description><![CDATA[Changes (as compared to 4.8) include: Bug fixes: * Custom SQL Objects (CSO) with a large result set could fail to display content in Monitors/Advisors page. * Specifying the &#8220;Key Column&#8221; field has now been made mandatory while adding a new CSO. If not specified the CSO will not save. * Small UI fixes. Downloads: [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Changes (as compared to 4.8) include: </strong></p>
<p><strong>Bug fixes:</strong><br />
* Custom SQL Objects (CSO) with a large result set could fail to display content in Monitors/Advisors page.<br />
* Specifying the &#8220;Key Column&#8221; field has now been made mandatory while adding a new CSO. If not specified the CSO will not save.<br />
* Small UI fixes.</p>
<p><strong>Downloads: </strong><a href="http://webyog.com/en/downloads.php">http://webyog.com/en/downloads.php</a><br />
<strong>Purchase: </strong><a href="http://webyog.com/en/buy.php">http://webyog.com/en/buy.php</a></p>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.webyog.com%2Fblog%2F2012%2F01%2F10%2Fmonyog-mysql-monitor-4-81-has-been-released%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.webyog.com/blog/2012/01/10/monyog-mysql-monitor-4-81-has-been-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLyog MySQL GUI 9.51 Released</title>
		<link>http://www.webyog.com/blog/2012/01/03/sqlyog-mysql-gui-9-51-released/</link>
		<comments>http://www.webyog.com/blog/2012/01/03/sqlyog-mysql-gui-9-51-released/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 15:01:17 +0000</pubDate>
		<dc:creator>peter_laursen</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[SQLyog]]></category>

		<guid isPermaLink="false">http://www.webyog.com/blog/?p=3478</guid>
		<description><![CDATA[Changes (as compared to 9.5) include: Features: * The active database context is now highlighted in Object Browser using a bold font. Bug fixes: * Drop-downs in the DATA and RESULT tab grid (used by SET and ENUM columns) could &#8216;drop down&#8217; where they should &#8216;drop up&#8217; instead. * Specifying empty string defaults for strings [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Changes (as compared to 9.5) include:</strong></p>
<p><strong> </strong></p>
<p><strong>Features:<br />
* </strong>The active database context is now highlighted in Object Browser using a <strong>bold</strong> font.</p>
<p><strong>Bug fixes:</strong><br />
* Drop-downs in the DATA and RESULT tab grid (used by SET and ENUM columns) could &#8216;drop down&#8217; where they should &#8216;drop up&#8217; instead.<br />
* Specifying empty string defaults for strings columns was broken in 9.5.<br />
* Fixed a rare crash caused by an undoumented behavior from the Windows API resulting in division by zero. Crash is now avoided by adding an additional condition check.<br />
* Fixed a painting issue in the Foreign Key tab in the new (from 9.5) tabbed interface for CREATE/ALTER TABLE that could render the interface here unusable on some systems.<br />
* Other minor fixes with same tabbed interface.</p>
<p><strong>Downloads:</strong> <a href="http://webyog.com/en/downloads.php">http://webyog.com/en/downloads.php</a><br />
<strong>Purchase:</strong> <a href="http://webyog.com/en/buy.php">http://webyog.com/en/buy.php</a></p>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.webyog.com%2Fblog%2F2012%2F01%2F03%2Fsqlyog-mysql-gui-9-51-released%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.webyog.com/blog/2012/01/03/sqlyog-mysql-gui-9-51-released/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to add a simple Custom Object in MONyog</title>
		<link>http://www.webyog.com/blog/2011/12/19/how-to-add-a-simple-custom-object-in-monyog/</link>
		<comments>http://www.webyog.com/blog/2011/12/19/how-to-add-a-simple-custom-object-in-monyog/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 12:33:47 +0000</pubDate>
		<dc:creator>peter_laursen</dc:creator>
				<category><![CDATA[MONyog]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.webyog.com/blog/?p=3342</guid>
		<description><![CDATA[MySQL is developing rapidly.  And today it does not only happen along a single track but in multiple directions simultaneously. This is due to both server &#8216;forks&#8216; as well as various plugins and 3rd party storage engines available.   Each of those will often add  information that can be fetched from the server &#8211; typically [...]]]></description>
			<content:encoded><![CDATA[<p><strong>MySQL is </strong><strong>developing rapidly</strong>.  And today it does not only happen along a single track but <strong>in</strong> <strong>multiple directions simultaneously</strong>.</p>
<p>This is due to both <strong>server &#8216;forks</strong>&#8216; as well as various <strong>plugins</strong> and 3rd party <strong>storage engines</strong> available.   Each of those will often add  information that can be fetched from the server &#8211; typically in the form of additional Information_Schema tables. This content can now also be utilized for monitoring MySQL servers with MONyog. MONyog 4.8  implements monitoring based on Custom SQL Objects.  It is basically just a SQL query. Any query returning a result set can be used for monitoring.  MONyog will collect results from the query and you may define counters on it exactly as you want.</p>
<p><strong>It is really very simple</strong>.  In this example we will utilize the `accounts` table that was added to the `performance_schema` database in MySQL 5.6.3 (but you could also use the &#8216;user statistics plugin&#8217; originally published as a Google patch and now distributed with MariaDB) . <strong>Basically only two steps are required:</strong></p>
<p><strong>First step:</strong> Navigate to <em>TOOLs tab .. Customization .. Manage Custom SQL Objects ..  Add/Edit Custom SQL Object</em>s and here enter the query. Note that you must also define a unique column (or a unique set of columns).</p>
<p><a rel="attachment wp-att-3466" href="http://www.webyog.com/blog/2011/12/19/how-to-add-a-simple-custom-object-in-monyog/add_cso/"><img class="aligncenter size-full wp-image-3466" title="Add_CSO" src="http://www.webyog.com/blog/wp-content/uploads/2011/12/Add_CSO.png" alt="" width="699" height="603" /></a><br />
Also define the sample interval and the retention timeframe for this particular query and on what MySQL servers the query should be executed.  MONyog will now start collecting the data as you have specified.</p>
<p><strong>Second step: </strong> Navigate to <em>Monitors/Advisors tab .. Add new Monitor/Advisor</em>. The result of the query you defined in first step is exposed as a javascript array to the MONyog javascript engine. Enter the  javascript defining the content, display, formatting etc. of the new counter in order to make it display as you want. Add an advisor text as well  if you want.</p>
<p><a rel="attachment wp-att-3467" href="http://www.webyog.com/blog/2011/12/19/how-to-add-a-simple-custom-object-in-monyog/add_monitor/"><img class="aligncenter size-full wp-image-3467" title="Add_Monitor" src="http://www.webyog.com/blog/wp-content/uploads/2011/12/Add_Monitor.png" alt="" width="699" height="981" /></a><br />
You have now created a Custom SQL Counter based on the Custom SQL Object Object that was defined in first step. You may create a new counter group for the new counter what we have done here:</p>
<p><a rel="attachment wp-att-3468" href="http://www.webyog.com/blog/2011/12/19/how-to-add-a-simple-custom-object-in-monyog/monitors_page_showing_values/"><img class="aligncenter size-full wp-image-3468" title="Monitors_Page_Showing_Values" src="http://www.webyog.com/blog/wp-content/uploads/2011/12/Monitors_Page_Showing_Values.png" alt="" width="699" height="724" /></a></p>
<p>.. but in this particular case it would also make perfect sense to add the new counter to the existing &#8216;current connections&#8217; group. Also note that if you want to define WARNING and CRITICAL thresholds on a counter and alert on it, the SQL and/or javascript must be framed in such a way that the counter returns a plain number.</p>
<p><strong>We would like to hear your feedback</strong> &#8211; and not at least how you use this in your environment. What are you monitoring now that you did not before?</p>
<p><strong>Downloads</strong>: <a href="http://webyog.com/en/downloads.php ">http://webyog.com/en/downloads.php </a><br />
<strong>Purchase:</strong> <a href="http://webyog.com/en/buy.php ">http://webyog.com/en/buy.php </a></p>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.webyog.com%2Fblog%2F2011%2F12%2F19%2Fhow-to-add-a-simple-custom-object-in-monyog%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.webyog.com/blog/2011/12/19/how-to-add-a-simple-custom-object-in-monyog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Merry Xmas</title>
		<link>http://www.webyog.com/blog/2011/12/19/merry-xmas/</link>
		<comments>http://www.webyog.com/blog/2011/12/19/merry-xmas/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 10:41:52 +0000</pubDate>
		<dc:creator>peter_laursen</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.webyog.com/blog/?p=3419</guid>
		<description><![CDATA[We wish all our customers, users and partners a Merry Xmas and a Happy New Year. The year of 2011 has been a terrific year for us.  But first let us have a look at where we started 10 years ago. The first version of SQLyog was released in the spring of 2002 &#8211; what [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em>We wish all our customers, users and partners a Merry Xmas and a Happy New Year.</em></strong></p>
<p><strong>The year of 2011 has been a terrific yea</strong><strong>r</strong> for us.  But first let us have a look at where we started 10 years ago. The first version of SQLyog was released in the spring of 2002 &#8211; what will mark <strong>our 10 year anniversary as a company</strong> early next year.  In the period since then we have seen quite a lot of other MySQL clients come and go. We are happy to see most of our existing customers upgrade regularly, to see our user base increase, and we are happy to do our best to provide the solutions requested by users and to keep pace with MySQL development.</p>
<p>And also <strong>4½ years ago we added MONyog</strong> to our portfolio.  So there will be another important anniversary to celebrate in 2012 as well.   MONyog has also proved to be robust and long-lived.</p>
<p>We are continuing to develop both programs aggressively in interaction with users and partners. And <strong>the combination of SQLyog and MONyog under one hood has enabled us to achieve important strategical partnerships</strong> across the MySQL ecosystem.</p>
<p>And don&#8217;t forget that <strong>Webyog is not only tools for MySQL</strong>. Also <strong><em><a href="http://visifire.com/">Visifire</a></em></strong> has now become a very respected charting solution for Silverlight, WPF and Windows Phone.  Several benchmarks and reviews list Visifire as the most efficient and most competitive solution. Our <a href="http://issueburner.com"><strong><em>IssueBurne</em></strong><strong><em>r</em></strong></a> application provides an integrated issue-tracking and helpdesk solution in a single and very competitive package.  And add to this <strong><em><a href="http://cloudmagic.com/">CloudMagic</a></em></strong> that in a second finds various information from Cloud-based services and presents it all in a unified interface.</p>
<p>The diversity of the different solutions that Webyog now offer is important not only for us as a company but also for users, because<strong> it ensures robustness</strong> of our company and guarantees <strong>continued support</strong> for all customers also if one of the ecosystems where we operate should face a slowdown or setback for a period. We have the robustness to continue developing what we want and what we have planned in a turbulent world.</p>
<p style="text-align: center;"><strong><em>We have more in our bag that we will share with you soon,  Stay tuned! </em></strong></p>
<p style="text-align: center;"><a rel="attachment wp-att-3420" href="http://www.webyog.com/blog/2011/12/19/merry-xmas/xmas/"><img class="size-full wp-image-3420 aligncenter" title="xmas" src="http://www.webyog.com/blog/wp-content/uploads/2011/12/xmas.jpg" alt="" width="500" height="750" /></a></p>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.webyog.com%2Fblog%2F2011%2F12%2F19%2Fmerry-xmas%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.webyog.com/blog/2011/12/19/merry-xmas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitor your MySQL servers like never before – use CSOs!</title>
		<link>http://www.webyog.com/blog/2011/12/16/monitor-your-mysql-servers-like-never-before-use-csos/</link>
		<comments>http://www.webyog.com/blog/2011/12/16/monitor-your-mysql-servers-like-never-before-use-csos/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 09:58:16 +0000</pubDate>
		<dc:creator>Chirag</dc:creator>
				<category><![CDATA[MONyog]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://www.webyog.com/blog/?p=3397</guid>
		<description><![CDATA[We are delighted to announce the release of MONyog 4.8 GA. This release is all about customization &#8211; to be precise Custom SQL Objects (CSO) and Custom SQL Counters (CSC). The above diagram shows how Monitors &#38; Advisors (MySQL Counters) are populated. MONyog has a repository of SQL Queries which are executed in regular interval [...]]]></description>
			<content:encoded><![CDATA[<p>We are delighted to announce the release of MONyog 4.8 GA. This release is all about customization &#8211; to be precise Custom SQL Objects (CSO) and Custom SQL Counters (CSC).</p>
<p><a rel="attachment wp-att-3398" href="http://www.webyog.com/blog/2011/12/16/monitor-your-mysql-servers-like-never-before-use-csos/monyog-cso/"><img class="aligncenter size-full wp-image-3398" title="MONyog CSO" src="http://www.webyog.com/blog/wp-content/uploads/2011/12/MONyog-CSO.jpg" alt="" width="657" height="403" /></a></p>
<p>The above diagram shows how Monitors &amp; Advisors (MySQL Counters) are populated. MONyog has a repository of SQL Queries which are executed in regular interval of time &amp; the results are stored in SQLite database of MONyog. These results are exposed as JavaScript objects and are referenced to populate Monitors and Advisors (MySQL Counters).</p>
<p>With CSO, you can add your own SQL queries to this repository &amp; customise counters based on that. Discussed below are some cases on how useful CSOs can be.</p>
<ul>
<li>Maintenance statements, for eg. CHECK TABLE, REPAIR TABLE etc.</li>
<li>You could query on Information Schema to monitor the size of a table. You can also configure it to alert when it crosses a threshold.</li>
<li>Keep yourself updated with the worst performing indexes.</li>
<li>Third party MySQL forks have some non standard tables. For eg. you can query on Statistics table of Percona MySQL fork to fetch information about unused index.</li>
<li>You can monitor MySQL clusters too, by querying Ndbinfo Schema.</li>
</ul>
<p>Refer the following posts for detailed release notes:</p>
<ul>
<li><a href="http://www.webyog.com/blog/2011/12/07/monyog-mysql-monitor-4-8-beta-2-has-been-released/">MONyog 4.8 Beta 2 Released</a></li>
<li><a href="http://www.webyog.com/blog/2011/11/23/monyog-mysql-monitor-4-8-beta-1-has-been-released/">MONyog 4.8 Beta 1 Released</a></li>
</ul>
<p>MONyog customers can download the latest installer from Webyog’s <a href="http://webyog.com/CustomerArea/">Customer Portal</a>.</p>
<p>To evaluate MONyog, please <a href="http://www.webyog.com/en/downloads.php#monyog">download the 30-day trial</a>.</p>
<p>We are very excited about this release, and hope you like it. We would love to hear from you.</p>
<p>Regards,<br />
Team MONyog</p>
<div style="float: left; margin-right: 10px; margin-top: 3px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.webyog.com%2Fblog%2F2011%2F12%2F16%2Fmonitor-your-mysql-servers-like-never-before-use-csos%2F" style="display: inline-block; width: 55px; height: 20px; background-color: #cce4f3; line-height: 20px; text-align: center; border: 1px solid #7ab8df;">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.webyog.com/blog/2011/12/16/monitor-your-mysql-servers-like-never-before-use-csos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss><!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->

