<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for code.openark.org</title>
	<atom:link href="http://code.openark.org/blog/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://code.openark.org/blog</link>
	<description>Blog by Shlomi Noach</description>
	<lastBuildDate>Wed, 01 Feb 2012 20:47:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on MySQL command line vs. visual editors - reflections by Gerry</title>
		<link>http://code.openark.org/blog/mysql/mysql-command-line-vs-visual-editors-reflections/comment-page-1#comment-68205</link>
		<dc:creator>Gerry</dc:creator>
		<pubDate>Wed, 01 Feb 2012 20:47:51 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=4647#comment-68205</guid>
		<description>I favor the CLI, although I use Workbench side-by-side, but not for admin tasks.

For example, if you only enable root@localhost to have GRANT OPTION (or replace with the administrative permission of your choice), it&#039;s not always easy or convenient to do port tunneling so you can use a GUI. OTH, the MySQL CLI utility will always be there on the server. 

My $.02
G</description>
		<content:encoded><![CDATA[<p>I favor the CLI, although I use Workbench side-by-side, but not for admin tasks.</p>
<p>For example, if you only enable root@localhost to have GRANT OPTION (or replace with the administrative permission of your choice), it's not always easy or convenient to do port tunneling so you can use a GUI. OTH, the MySQL CLI utility will always be there on the server. </p>
<p>My $.02<br />
G</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL command line vs. visual editors by Chirag N R</title>
		<link>http://code.openark.org/blog/mysql/mysql-command-line-vs-visual-editors/comment-page-1#comment-68170</link>
		<dc:creator>Chirag N R</dc:creator>
		<pubDate>Wed, 01 Feb 2012 15:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=4639#comment-68170</guid>
		<description>To start, CLI cannot match the productivity gain of GUI tools and GUIs cannot match the flexibility of CLIs to a certain extent. Keeping the discussion limited to the academic usage, I think learning has to be fun and GUIs add this fun element. Students can easily start playing with GUIs and can visualize things under the hood. I think tools also make students curious to try out something new. They might end up discovering a concept all by themselves which they wouldn&#039;t have otherwise unless reading a thick volume.</description>
		<content:encoded><![CDATA[<p>To start, CLI cannot match the productivity gain of GUI tools and GUIs cannot match the flexibility of CLIs to a certain extent. Keeping the discussion limited to the academic usage, I think learning has to be fun and GUIs add this fun element. Students can easily start playing with GUIs and can visualize things under the hood. I think tools also make students curious to try out something new. They might end up discovering a concept all by themselves which they wouldn't have otherwise unless reading a thick volume.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL command line vs. visual editors - reflections by Sheeri Cabral</title>
		<link>http://code.openark.org/blog/mysql/mysql-command-line-vs-visual-editors-reflections/comment-page-1#comment-68167</link>
		<dc:creator>Sheeri Cabral</dc:creator>
		<pubDate>Wed, 01 Feb 2012 15:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=4647#comment-68167</guid>
		<description>While I agree with you that the commandline is the ultimate tool, many times the extra layer(s) of abstraction help a developer get familiar with the MySQL environment and how queries actually work in MySQL, without having to learn a new tool also.  

There is value in exposing a little bit of MySQL at a time.

I use a separate editor for when I&#039;m creating stored procedures or events, long pieces of code that I likely will troubleshoot for a while before getting it right.</description>
		<content:encoded><![CDATA[<p>While I agree with you that the commandline is the ultimate tool, many times the extra layer(s) of abstraction help a developer get familiar with the MySQL environment and how queries actually work in MySQL, without having to learn a new tool also.  </p>
<p>There is value in exposing a little bit of MySQL at a time.</p>
<p>I use a separate editor for when I'm creating stored procedures or events, long pieces of code that I likely will troubleshoot for a while before getting it right.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL command line vs. visual editors - reflections by Giuseppe Maxia</title>
		<link>http://code.openark.org/blog/mysql/mysql-command-line-vs-visual-editors-reflections/comment-page-1#comment-68094</link>
		<dc:creator>Giuseppe Maxia</dc:creator>
		<pubDate>Wed, 01 Feb 2012 12:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=4647#comment-68094</guid>
		<description>Being a Unix user, one of the reasons for using MySQL command line tools rather than GUIs is that with the CLi you can easily integrate other shell tools with MySQL input or output.
Admittedly, I am a proficient command line user, and therefore for me it is relatively easy to run a shell loop using input from the MySQL CLI tool and push back the output to MySQL, all in the same line. 
Like this:
$ for T in $(mysql -B -N -e &#039;show
tables from world&#039;) ;  do echo &quot;CREATE TABLE world2.$T LIKE world.$T;&quot; ; done &#124; mysql -vv

I understand that someone used to a GUI may look at that as an abomination, but for me this is one of the simplest uses of the MySQL CLI integrated to shell tools. There are more complex, and more powerful things that can be done, and I feel very much satisfied with the command line for this reason. I would be lost in a GUI, which is in many cases very limiting for me. 

When is a GUI helpful? When you have to create queries from a complex schema and you need an enhanced editor that suggests you table and column names efficiently. I use Aqua Data Studio for this reason only.</description>
		<content:encoded><![CDATA[<p>Being a Unix user, one of the reasons for using MySQL command line tools rather than GUIs is that with the CLi you can easily integrate other shell tools with MySQL input or output.<br />
Admittedly, I am a proficient command line user, and therefore for me it is relatively easy to run a shell loop using input from the MySQL CLI tool and push back the output to MySQL, all in the same line.<br />
Like this:<br />
$ for T in $(mysql -B -N -e 'show<br />
tables from world') ;  do echo "CREATE TABLE world2.$T LIKE world.$T;" ; done | mysql -vv</p>
<p>I understand that someone used to a GUI may look at that as an abomination, but for me this is one of the simplest uses of the MySQL CLI integrated to shell tools. There are more complex, and more powerful things that can be done, and I feel very much satisfied with the command line for this reason. I would be lost in a GUI, which is in many cases very limiting for me. </p>
<p>When is a GUI helpful? When you have to create queries from a complex schema and you need an enhanced editor that suggests you table and column names efficiently. I use Aqua Data Studio for this reason only.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL command line vs. visual editors by MySQL command line vs. visual editors &#8211; reflections &#124; code.openark.org</title>
		<link>http://code.openark.org/blog/mysql/mysql-command-line-vs-visual-editors/comment-page-1#comment-67992</link>
		<dc:creator>MySQL command line vs. visual editors &#8211; reflections &#124; code.openark.org</dc:creator>
		<pubDate>Wed, 01 Feb 2012 08:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=4639#comment-67992</guid>
		<description>[...] MySQL command line vs. visual editors - reflections [...]</description>
		<content:encoded><![CDATA[<p>[...] MySQL command line vs. visual editors - reflections [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL command line vs. visual editors by shlomi</title>
		<link>http://code.openark.org/blog/mysql/mysql-command-line-vs-visual-editors/comment-page-1#comment-67978</link>
		<dc:creator>shlomi</dc:creator>
		<pubDate>Wed, 01 Feb 2012 07:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=4639#comment-67978</guid>
		<description>@Mahesh,
I agree.</description>
		<content:encoded><![CDATA[<p>@Mahesh,<br />
I agree.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL command line vs. visual editors by shlomi</title>
		<link>http://code.openark.org/blog/mysql/mysql-command-line-vs-visual-editors/comment-page-1#comment-67977</link>
		<dc:creator>shlomi</dc:creator>
		<pubDate>Wed, 01 Feb 2012 07:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=4639#comment-67977</guid>
		<description>@Rohit,
Thank you. Yes, I agree this is a feature, I didn&#039;t suggest it is a bug. And I realize many users sent you feedback saying &quot;we just want to see a sample of the data&quot;. And you would not be able to load 1,000,000 rows into the GUI widget you are using (who wants to browse through 1,000,000 rows anyway?)

And your tool wants to be smart. Who wants to use a stupid GUI tool? Being smart is important.

Everything that is smart falls into the corner of not satisfying the minority who actually want something else. 

I&#039;m suggesting that the command line client, being not-smart, shows the de-facto real picture, and is the place to go to for reference.</description>
		<content:encoded><![CDATA[<p>@Rohit,<br />
Thank you. Yes, I agree this is a feature, I didn't suggest it is a bug. And I realize many users sent you feedback saying "we just want to see a sample of the data". And you would not be able to load 1,000,000 rows into the GUI widget you are using (who wants to browse through 1,000,000 rows anyway?)</p>
<p>And your tool wants to be smart. Who wants to use a stupid GUI tool? Being smart is important.</p>
<p>Everything that is smart falls into the corner of not satisfying the minority who actually want something else. </p>
<p>I'm suggesting that the command line client, being not-smart, shows the de-facto real picture, and is the place to go to for reference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL command line vs. visual editors by Mahesh Patil</title>
		<link>http://code.openark.org/blog/mysql/mysql-command-line-vs-visual-editors/comment-page-1#comment-67974</link>
		<dc:creator>Mahesh Patil</dc:creator>
		<pubDate>Wed, 01 Feb 2012 07:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=4639#comment-67974</guid>
		<description>@Shlomi,

I can understand your concern about using Command Line and other Visual Editors.
Using any Visual Editors definitely you will not be known to syntax for DDL and DML statements.
For student or MySQL trainee one must use command line for basic SQL operations and understanding MYSQL internals i.e. Related to server metadata, user management etc.. 
Once they gain intermediate knowledge about SQL and MySQL internals.. they can opt for Visual tools using this they will improve productivity and something which is found in Visual tool not in command line (Like LIMIT 1000 and pagination kind of result set) as they already gained enough knowledge to check what queries being executed in background.
Also using Visual tools they can save time for doing tasks such as CREATE TABLE, FK RELATIONSHIP , Build queries, Optimize queries, User Management, Sync Schemas/Data etc.. which can be difficult and time consuming tasks using Command line isn&#039;t it? :)</description>
		<content:encoded><![CDATA[<p>@Shlomi,</p>
<p>I can understand your concern about using Command Line and other Visual Editors.<br />
Using any Visual Editors definitely you will not be known to syntax for DDL and DML statements.<br />
For student or MySQL trainee one must use command line for basic SQL operations and understanding MYSQL internals i.e. Related to server metadata, user management etc..<br />
Once they gain intermediate knowledge about SQL and MySQL internals.. they can opt for Visual tools using this they will improve productivity and something which is found in Visual tool not in command line (Like LIMIT 1000 and pagination kind of result set) as they already gained enough knowledge to check what queries being executed in background.<br />
Also using Visual tools they can save time for doing tasks such as CREATE TABLE, FK RELATIONSHIP , Build queries, Optimize queries, User Management, Sync Schemas/Data etc.. which can be difficult and time consuming tasks using Command line isn't it? <img src='http://code.openark.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL command line vs. visual editors by Rohit Nadhani</title>
		<link>http://code.openark.org/blog/mysql/mysql-command-line-vs-visual-editors/comment-page-1#comment-67952</link>
		<dc:creator>Rohit Nadhani</dc:creator>
		<pubDate>Wed, 01 Feb 2012 06:44:28 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=4639#comment-67952</guid>
		<description>@Shlomi,

There are reasons why GUI tools behave in certain ways. A lot of thought has been put into each of these aspects.

For example, I want to explain why there is a limit of 1000 rows in SQLyog &quot;by default&quot;, as this behavior has been specifically pointed out in your post.

In the command line, it takes a little more effort to look at the contents of a table. At the very minimum, you have to type &quot;select * from &quot;.

In SQLyog, viewing the data is just a single click on the table name. When it is that simple, users have the tendency to click on one table after another in quick succession when they want to &quot;study&quot; a database. They just want to quickly look at a few rows and see what type of data each of these tables contain.

For such use-cases, it would be annoying to bring up all rows of a table if that particular table has thousands of rows. It is just wasteful -- both on the client and the server.

Earlier versions of SQLyog didn&#039;t have this &quot;feature&quot; :) We built this based on feedback from thousands of SQLyog users.</description>
		<content:encoded><![CDATA[<p>@Shlomi,</p>
<p>There are reasons why GUI tools behave in certain ways. A lot of thought has been put into each of these aspects.</p>
<p>For example, I want to explain why there is a limit of 1000 rows in SQLyog "by default", as this behavior has been specifically pointed out in your post.</p>
<p>In the command line, it takes a little more effort to look at the contents of a table. At the very minimum, you have to type "select * from ".</p>
<p>In SQLyog, viewing the data is just a single click on the table name. When it is that simple, users have the tendency to click on one table after another in quick succession when they want to "study" a database. They just want to quickly look at a few rows and see what type of data each of these tables contain.</p>
<p>For such use-cases, it would be annoying to bring up all rows of a table if that particular table has thousands of rows. It is just wasteful -- both on the client and the server.</p>
<p>Earlier versions of SQLyog didn't have this "feature" <img src='http://code.openark.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  We built this based on feedback from thousands of SQLyog users.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL command line vs. visual editors by shlomi</title>
		<link>http://code.openark.org/blog/mysql/mysql-command-line-vs-visual-editors/comment-page-1#comment-67858</link>
		<dc:creator>shlomi</dc:creator>
		<pubDate>Tue, 31 Jan 2012 20:22:58 +0000</pubDate>
		<guid isPermaLink="false">http://code.openark.org/blog/?p=4639#comment-67858</guid>
		<description>@wlad,
point well taken.

Like I said, most students revert back to whatever feels more comfortable to them, and I don&#039;t object.

If my post read to you like &quot;I do not allow use of GUI tools in my classes&quot;, then I have failed to deliver the message properly. It is not as such, but rather &quot;I see importance that students know how to use the command line and that what they get from visual editors may not be consistent with what they get from command line&quot;. And I confess I do encourage them to use the command line, after all.

To the other extreme, I don&#039;t think the learning process should fully comply with whatever students are doing and using. For example, if they all use Windows, that doesn&#039;t mean I shouldn&#039;t be telling them on the advantages of using MySQL on linux. I may just even go as far as suggesting that they should try linux.

I think you have also extra-extrapolated your conclusion about &quot;the dogmatic one true way&quot;. I did *not* say people should not be using visual editors. I *do* say they should be using the command line. To be very verbose: they can do so even while working with their visual editors. I stand by my point: if you don&#039;t know how to do it with command line, you can&#039;t really know how it&#039;s done.

&quot;I don&#039;t know it. It sucks&quot; is truly a bad approach. I do not think I take this approach. Since you do believe I do, allow me to take a few days to reflect upon myself. It is possible others see in me things I do not see in myself (though a bit extreme to diagnose a person from a single blog post), and I will think this over as good measure.</description>
		<content:encoded><![CDATA[<p>@wlad,<br />
point well taken.</p>
<p>Like I said, most students revert back to whatever feels more comfortable to them, and I don't object.</p>
<p>If my post read to you like "I do not allow use of GUI tools in my classes", then I have failed to deliver the message properly. It is not as such, but rather "I see importance that students know how to use the command line and that what they get from visual editors may not be consistent with what they get from command line". And I confess I do encourage them to use the command line, after all.</p>
<p>To the other extreme, I don't think the learning process should fully comply with whatever students are doing and using. For example, if they all use Windows, that doesn't mean I shouldn't be telling them on the advantages of using MySQL on linux. I may just even go as far as suggesting that they should try linux.</p>
<p>I think you have also extra-extrapolated your conclusion about "the dogmatic one true way". I did *not* say people should not be using visual editors. I *do* say they should be using the command line. To be very verbose: they can do so even while working with their visual editors. I stand by my point: if you don't know how to do it with command line, you can't really know how it's done.</p>
<p>"I don't know it. It sucks" is truly a bad approach. I do not think I take this approach. Since you do believe I do, allow me to take a few days to reflect upon myself. It is possible others see in me things I do not see in myself (though a bit extreme to diagnose a person from a single blog post), and I will think this over as good measure.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

