<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mFabrik - mobile sites, apps, HTML5 and CMS software development &#187; sql</title>
	<atom:link href="http://blog.mfabrik.com/tag/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mfabrik.com</link>
	<description>Freedom delivered.</description>
	<lastBuildDate>Wed, 03 Aug 2011 09:47:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>One-liner to copy remote MySQL database to local computer</title>
		<link>http://blog.mfabrik.com/2011/07/23/one-liner-to-copy-remote-mysql-database-to-local-computer/</link>
		<comments>http://blog.mfabrik.com/2011/07/23/one-liner-to-copy-remote-mysql-database-to-local-computer/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 16:20:58 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[grant]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.mfabrik.com/?p=1325</guid>
		<description><![CDATA[The following commands dump a MySQL database from a remote server and create a corresponding database on the local computer. The instructions have been tested on OSX and Linux (Ubuntu/Debian). On-line SSH compression is applied, so transferring SQL files, which are text content and compress well, should be around 6x faster than normal. (Well… actually [...]]]></description>
			<content:encoded><![CDATA[<div class="body">
<p>The following commands dump a MySQL database from a remote server and create a corresponding database on the local computer.</p>
<p>The instructions have been tested on OSX and Linux (Ubuntu/Debian). On-line SSH compression is applied, so transferring SQL files, which are text content and compress well, should be around 6x faster than normal.</p>
<p>(Well… actually the script is six lines, but because this is my blog I&#8217;ll decide it doesn&#8217;t count)</p>
<p>The script</p>
<ul class="simple">
<li>Remotely runs mysqldump and puts the result to a local file</li>
<li>Creates a MySQL database and corresponding user with full access to this database</li>
<li>Reads the content of mysqldump to the newly created database</li>
</ul>
<pre class="literal-block"> ssh user@dserver.com -C -o CompressionLevel=9 mysqldump -u YOURDATABASEUSER --password=YOURDATABASEPASSWORD --skip-lock-tables --add-drop-table YOURDATABASENAME &gt; YOURDATABASENAME.sql
mysql -uroot -p
create database YOURDATABASENAME;
connect YOURDATABASENAME;
source YOURDATABASENAME.sql
GRANT ALL ON YOURDATABASENAME.* TO 'YOURDATABASEUSER'@'localhost' identified by 'YOURDATABASEPASSWORD';</pre>
<p>Leave out <tt class="docutils literal">create database</tt> and <tt class="docutils literal">GRANT</tt> for the subsequent runs &#8211; all data on the local computer will be replaced.</p>
</div>
<p class="signature">
<a href="http://mfabrik.com/@@zoho-contact-form"><img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/mfabrik-24.png"></a> <a href="http://mfabrik.com/@@zoho-contact-form">Get developers</a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml"><img valign="middle" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt="" style="vertical-align:middle;border:0"/></a> <a href="http://feeds.feedburner.com/mFabrikWebAndMobileDevelopment" rel="alternate" type="application/rss+xml">Subscribe mFabrik blog in a reader</a> <a href="http://twitter.com/mfabrik"> <img valign="middle"  src="http://blog.mfabrik.com/wp-content/uploads/twitter-24.png"></a> <a href="http://twitter.com/moo9000">Follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2011/07/23/one-liner-to-copy-remote-mysql-database-to-local-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated: Eclipse web developer plug-in memo</title>
		<link>http://blog.mfabrik.com/2008/07/14/updated-eclipse-web-developer-plug-in-memo/</link>
		<comments>http://blog.mfabrik.com/2008/07/14/updated-eclipse-web-developer-plug-in-memo/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 23:13:04 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[Plone (old)]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[pydev]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql explorer]]></category>
		<category><![CDATA[subclipse]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.redinnovation.com/?p=54</guid>
		<description><![CDATA[Below are my personal notes what plug-ins are needed to get &#8220;perfect&#8221; Eclipse web development set-up. Basically they are just my own notes so that I don&#8217;t need to Google everything all over again every time I reinstall. I hope the readers can find new pearls here or suggest improvements. This post is update to [...]]]></description>
			<content:encoded><![CDATA[<p>Below are my personal notes what plug-ins are needed to get &#8220;perfect&#8221; Eclipse web development set-up. Basically they are just my own notes so that I don&#8217;t need to Google everything all over again every time I reinstall. I hope the readers can find new pearls here or suggest improvements.</p>
<p>This post is update to previous <a href="http://blog.redinnovation.com/2007/11/27/eclipse-web-developer-plug-in-memo/">Eclipse web developer plug-in</a> memo post. New versions are available and some plug-ins have become deprecated. This blog post reflects those changes.</p>
<p>These instructions are good for:</p>
<ul>
<li>Python developer</li>
<li>PHP developer</li>
<li>Java developer</li>
</ul>
<h2>Choosing Eclipse distribution</h2>
<ul>
<li>On Window, use <a href="http://www.easyeclipse.org/site/home/">EasyEclipse</a></li>
<li>On Linux, use Eclipse provided by the distribution &#8211; Eclipse links against the embedded Mozilla browser and this is distribution specific &#8211; EasyEclipse has some issues here. For Ubuntu users:</li>
</ul>
<pre style="padding-left: 60px;">sudo apt-get install sun-java6 eclipse</pre>
<ul>
<li>On OSX, use <a href="http://www.easyeclipse.org/site/home/">EasyEclipse</a></li>
</ul>
<p>EasyEclipse bundles some of the stuff listed here with it &#8211; when using EasyEclipse you don&#8217;t need to have separate PyDev and Subclipse downloads.</p>
<p>Eclipse for 64-bit Linux has various problems. <a href="http://www.64bitjungle.com/tech/eclipse-32-bit-pdt-install-on-64-bit-ubuntu/">You might want to run 32-bit Eclipse</a> (<a href="http://rachaelandtom.info/node/1485">another relevant blog post)</a>. When you use Linux distribution specific Eclipse install, all your personal Eclipse files go to .eclipse folder under your home folder.</p>
<h2 id="Eclipsesetup">Installing plug-ins<a class="anchor" title="Link to this section" href="https://trac.yebotv.com/wiki/EclipseSetup#Eclipsesetup"> </a></h2>
<p>Eclipse has internal updater/web installer. All plug-ins are downloaded as ZIP files and extracted to Eclipse folder or installed through the internal updater. Paste Eclipse update site URLs to menu <em>Help</em> -&gt; <em>Software updates</em> -&gt;<em> Find and Install</em>,<em> New Remote Location</em>.</p>
<h3 id="Python">Python<a class="anchor" title="Link to this section" href="https://trac.yebotv.com/wiki/EclipseSetup#Python"> </a></h3>
<p>PyDev is a plug-in for Python and Jython development. It has enhanced commercial extensions for professional developers with more intelligent autocomplete and debugger.</p>
<p>Site URL: <a class="ext-link" href="http://pydev.sourceforge.net/"><span class="icon">http://pydev.sourceforge.net</span></a></p>
<p>PyDev Eclipse update URL: <a class="ext-link" href="http://pydev.sourceforge.net/updates/"><span class="icon">http://pydev.sourceforge.net/updates/</span></a></p>
<p>PyDev extensions Eclipse update URL (<a href="http://www.fabioz.com/pydev/buy.html">this commercial, but worth of every penny</a>): <a href="http://www.fabioz.com/pydev/updates">http://www.fabioz.com/pydev/updates<br />
</a></p>
<h3 id="PDT">PDT<a class="anchor" title="Link to this section" href="https://trac.yebotv.com/wiki/EclipseSetup#PDT"> </a></h3>
<p>PDT download provides Eclipse, HTML editor, PHP editor and CSS editor.</p>
<p>Site URL: <a class="ext-link" href="http://www.eclipse.org/"><span class="icon">http://www.eclipse.org</span></a></p>
<p>Eclipse update site URL: <a class="ext-link" href="http://download.eclipse.org/tools/pdt/updates/"><span class="icon">http://download.eclipse.org/tools/pdt/updates/</span></a></p>
<h3>Java</h3>
<p>If you need to do J2EE development use IBM&#8217;s <a href="http://www.eclipse.org/webtools/">Web Tools Platform</a>. If you don&#8217;t need Java capabilities don&#8217;t install these, since they just bloat Eclipse and make the start up time worse.</p>
<h3 id="Subclipse">Subclipse<a class="anchor" title="Link to this section" href="https://trac.yebotv.com/wiki/EclipseSetup#Subclipse"> </a></h3>
<p><a href="http://subclipse.tigris.org/">Subclipse</a> provides Subversion version control integration to Eclipse.</p>
<p>Eclipse update site URL: <a href="http://subclipse.tigris.org/update_1.4.x/">http://subclipse.tigris.org/update_1.4.x/</a><a class="ext-link" href="http://subclipse.tigris.org/update_1.2.x"></a></p>
<p>In the installer, uncheck the integration modules checkbox or the installer will complain about missing modules.</p>
<h3>Aptana Studio<a href="http://aptana.com/studio/"><br />
</a></h3>
<p><a href="http://aptana.com/studio/">Aptana Studio</a> is state-of-the-art Web 2.0 development suite for Eclipse. It has Javascript, CSS and HTML editors. It supports various Javascript libraries out of the box and has support <a href="http://aptana.com/docs/index.php/Installing_the_JavaScript_debugger">for Firefox and IE in-browser Javascript debugging</a>.</p>
<p>Eclipse update site URL: <a href="http://update.aptana.com/update/studio/3.2/site.xml">http://update.aptana.com/update/studio/3.2/site.xml</a></p>
<h3 id="SQLExplorer">ShellEd<a class="anchor" title="Link to this section" href="https://trac.yebotv.com/wiki/EclipseSetup#SQLExplorer"> </a></h3>
<p>Syntax coloring for Unix shell scripts</p>
<p>Project site:<a class="ext-link" href="http://sourceforge.net/projects/shelled/"><span class="icon"> http://sourceforge.net/projects/shelled</span></a></p>
<h3 id="SQLExplorer">SQL Explorer<a class="anchor" title="Link to this section" href="https://trac.yebotv.com/wiki/EclipseSetup#SQLExplorer"> </a></h3>
<p>SQL terminal and SQL editor with some GUI capabilities.</p>
<p>Eclipse update site URL <a href="http://eclipsesql.sourceforge.net/">http://eclipsesql.sourceforge.net/</a></p>
<p>SQL Explorer needs MySQL JDBC driver. Download from <a href="http://dev.mysql.com/downloads/connector/j/5.1.html">here</a>. Install MySQL connector by extracting the file and adding it from SQL Explorer preferences.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2008/07/14/updated-eclipse-web-developer-plug-in-memo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse web developer plug-in memo</title>
		<link>http://blog.mfabrik.com/2007/11/27/eclipse-web-developer-plug-in-memo/</link>
		<comments>http://blog.mfabrik.com/2007/11/27/eclipse-web-developer-plug-in-memo/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 11:46:19 +0000</pubDate>
		<dc:creator>Mikko Ohtamaa</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Plone (old)]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[subclipse]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://blog.redinnovation.com/2007/11/27/eclipse-web-developer-plug-in-memo/</guid>
		<description><![CDATA[Currently I work in quite wide field of software development: Python (standalone, Plone, Zope, Django), PHP, Java, Symbian and embedded Linux. I am using Eclipse for development, since it&#8217;s pretty much the only consistent platform filling my needs. The nature of work also forces me to use different computers (Mac/Windows/Linux) with different clients. This drives [...]]]></description>
			<content:encoded><![CDATA[<p>Currently I work in quite wide field of software development: Python (standalone, Plone, Zope, Django), PHP, Java, Symbian and embedded Linux. I am using Eclipse for development, since it&#8217;s pretty much the only consistent platform filling my needs.  The nature of work also forces me to use different computers (Mac/Windows/Linux) with different clients. This drives me to reinstall Eclipse now and then.</p>
<p>Below are my personal notes what plug-ins are needed to get &#8220;perfect&#8221; Eclipse set-up. Basically they are just my own notes so that I don&#8217;t need to Google everything all over again every time I reinstall. I hope the readers can find new pearls here or suggest improvements.</p>
<h2 id="Eclipsesetup">Eclipse setup<a href="https://trac.yebotv.com/wiki/EclipseSetup#Eclipsesetup" title="Link to this section" class="anchor"> </a></h2>
<p>Eclipse has internal updater/web installer. All plug-ins are downloaded as ZIP files and extracted to Eclipse folder or installed through the internal updater. Paste Eclipse update site URLs to menu Help -&gt; Software updates -&gt; Find and Install, New Remote Location. You can use dummy text as the name of update site.</p>
<h3 id="EclipseWTPWebToolsPlatform">Eclipse WTP (Web Tools Platform)<a href="https://trac.yebotv.com/wiki/EclipseSetup#EclipseWTPWebToolsPlatform" title="Link to this section" class="anchor"> </a></h3>
<p>Eclipse Web Tools Platform bundles Eclipse, Java development tools, HTML editor, CSS editor and some other generic useful stuff.</p>
<ul>
<li>No separate Eclipse download needed. Download the bundle from <a href="http://download.eclipse.org/webtools/downloads/" class="ext-link"><span class="icon">http://download.eclipse.org/webtools/downloads/</span></a></li>
</ul>
<h3 id="Python">Python<a href="https://trac.yebotv.com/wiki/EclipseSetup#Python" title="Link to this section" class="anchor"> </a></h3>
<p>PyDev is a plug-in for Python and Jython development.</p>
<p>Site URL: <a href="http://pydev.sourceforge.net/" class="ext-link"><span class="icon">http://pydev.sourceforge.net</span></a></p>
<p>Eclipse update site URL: <a href="http://pydev.sourceforge.net/updates/" class="ext-link"><span class="icon">http://pydev.sourceforge.net/updates/</span></a></p>
<h3 id="PDT">PDT<a href="https://trac.yebotv.com/wiki/EclipseSetup#PDT" title="Link to this section" class="anchor"> </a></h3>
<p>PDT download provides Eclipse, HTML editor, PHP editor and CSS editor.</p>
<p>Site URL: <a href="http://www.eclipse.org/" class="ext-link"><span class="icon">http://www.eclipse.org</span></a></p>
<p>Eclipse update site URL: <a href="http://download.eclipse.org/tools/pdt/updates/" class="ext-link"><span class="icon">http://download.eclipse.org/tools/pdt/updates/</span></a></p>
<h3 id="Subclipse">Subclipse<a href="https://trac.yebotv.com/wiki/EclipseSetup#Subclipse" title="Link to this section" class="anchor"> </a></h3>
<p>Subclipse provides Subversion version control integration to Eclipse.</p>
<p>Eclipse update site URL: <a href="http://subclipse.tigris.org/update_1.2.x" class="ext-link"><span class="icon">http://subclipse.tigris.org/update_1.2.x</span></a></p>
<p>In the installer, uncheck the integration modules checkbox or the installer will complain about missing modules.</p>
<h3 id="JSEclipse">JSEclipse<a href="https://trac.yebotv.com/wiki/EclipseSetup#JSEclipse" title="Link to this section" class="anchor"> </a></h3>
<p>JSEclipse provides a better editor (over WTP) for Javascript files, with impressive outlining and autofill capabilities.</p>
<p>Download requires Adobe developer account or similar fill-in-the-fields crap.</p>
<p>Site URL: <a href="http://labs.adobe.com/technologies/jseclipse/" class="ext-link"><span class="icon">http://labs.adobe.com/technologies/jseclipse/</span></a></p>
<h3 id="SQLExplorer">ShellEd<a href="https://trac.yebotv.com/wiki/EclipseSetup#SQLExplorer" title="Link to this section" class="anchor"> </a></h3>
<h3 id="ShellEd"><a href="https://trac.yebotv.com/wiki/EclipseSetup#ShellEd" title="Link to this section" class="anchor"></a></h3>
<p>Syntax coloring for Unix shell scripts</p>
<p>Project site:<a href="http://sourceforge.net/projects/shelled/" class="ext-link"><span class="icon"> http://sourceforge.net/projects/shelled</span></a></p>
<h3 id="SQLExplorer">SQL Explorer<a href="https://trac.yebotv.com/wiki/EclipseSetup#SQLExplorer" title="Link to this section" class="anchor"> </a></h3>
<p>SQL editor with limited GUI capabilities. Based on Eclipse platform. Comes standalone and as Eclipse plug-in.</p>
<ul>
<li>Download ZIP from <a href="http://sourceforge.net/project/showfiles.php?group_id=132863" class="ext-link"><span class="icon">http://sourceforge.net/project/showfiles.php?group_id=132863</span></a></li>
</ul>
<p>needs MySQL JDBC driver</p>
<ul>
<li><a href="http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.0.8.tar.gz/from/pick#mirrors" class="ext-link"><span class="icon">http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.0.8.tar.gz/from/pick#mirrors</span></a></li>
</ul>
<p>Technorati tags: <a href="http://technorati.com/tag/Python" rel="tag">Python</a> <a href="http://technorati.com/tag/Plone" rel="tag">Plone</a> <a href="http://technorati.com/tag/Django" rel="tag">Django</a> <a href="http://technorati.com/tag/PHP" rel="tag">PHP</a> <a href="http://technorati.com/tag/Eclipse" rel="tag">Eclipse</a> <a href="http://technorati.com/tag/web+development" rel="tag">Web development</a> <a href="http://technorati.com/tag/subclipse" rel="tag">Subclipse</a> <a href="http://technorati.com/tag/javascript" rel="tag">Javascript</a> <a href="http://technorati.com/tag/sql" rel="tag">SQL</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mfabrik.com/2007/11/27/eclipse-web-developer-plug-in-memo/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

