<?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>Global Nerdy &#187; installation</title>
	<atom:link href="http://www.globalnerdy.com/tag/installation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.globalnerdy.com</link>
	<description>Tech Evangelist Joey deVilla on software development, tech news and other nerdy stuff</description>
	<lastBuildDate>Fri, 19 Mar 2010 00:24:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing MySQL Server 5.1 on Windows</title>
		<link>http://www.globalnerdy.com/2009/05/04/installing-mysql-server-51-on-windows/</link>
		<comments>http://www.globalnerdy.com/2009/05/04/installing-mysql-server-51-on-windows/#comments</comments>
		<pubDate>Mon, 04 May 2009 16:12:05 +0000</pubDate>
		<dc:creator>Joey deVilla</dc:creator>
				<category><![CDATA[Software and Services]]></category>
		<category><![CDATA[datbases]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Make Web Not War]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP on Windows]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[walkthroughs]]></category>

		<guid isPermaLink="false">http://www.globalnerdy.com/2009/05/04/installing-mysql-server-51-on-windows/</guid>
		<description><![CDATA[
You’ve probably heard of Microsoft’s Web Platform Installer, a free-as-in-beer tool that makes it a snap to install a variety of Microsoft and Open Source web applications and development tools, ranging from “The Usual Suspects”, such as Visual Web Developer, IIS and SQL Server 2008 Express to stuff you might not expect, such as PHP [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img style="border-right-width: 0px; margin: 0px 0px 0px 10px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="MySQL dolphin balancing Windows &quot;ball&quot; logo on its snout" border="0" alt="MySQL dolphin balancing Windows &quot;ball&quot; logo on its snout" align="right" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/mysql-windows-logos.jpg" width="215" height="154" /></p>
<p>You’ve probably heard of Microsoft’s <strong><a href="http://www.microsoft.com/Web/downloads/platform.aspx">Web Platform Installer</a></strong>, a free-as-in-beer tool that makes it a snap to install a variety of Microsoft and Open Source web applications and development tools, ranging from “The Usual Suspects”, such as Visual Web Developer, IIS and SQL Server 2008 Express to stuff you might not expect, such as PHP and Wordpress. It makes installing these goodies a simple of matter of checking the items you want and clicking the <strong>Install </strong>button. (While the old way of installing PHP on Windows wasn’t rocket science, it involved enough steps and configuration changes to justify my writing a whole article on the topic in an old developer blog of mine.)</p>
<p><strong>One necessary thing that the Web Platform Installer <em>doesn’t</em> do for you – and I assume it’s because of licensing restrictions of one kind or another – is install MySQL</strong>, which many PHP apps, including a number that the Web Platform Installer installs, use. You’ll be told that you need to install MySQL, but it leaves installing it up to you.</p>
<p><strong>Hence this article, where I walk through the steps of installing MySQL Server 5.1 on Windows for a developer machine.</strong> Whether you just need PHP and MySQL so that you can experiment with Wordpress template designs or are the “I build on Windows, but deploy on Linux” type or are developing for a server setup where IIS is serving both ASP.NET and PHP apps (and yes, IIS does that!), you’re going to want MySQL on your dev box.</p>
<h3>Get the Installer</h3>
<p>The version we’re interested in is the free-as-in-both-speech-and-beer Community Edition, which is available at the MySQL site. Here are the links to the installers:</p>
<ul>
<li><a href="http://dev.mysql.com/downloads/mysql/5.1.html#win32">Here are the links for the Windows 32-bit installers</a> </li>
<li><a href="http://dev.mysql.com/downloads/mysql/5.1.html#winx64">Here are the links for the Windows 64-bit installers</a> </li>
</ul>
<p>Both these options provide you with three different installers. <strong>I recommend getting the .msi (Windows Installer) as it’s the lowest-headache option.</strong> It’s also the version I use in this walkthrough.</p>
<p>By the way, the screenshots provided in this walkthrough are from my actual installation process on my laptop, which runs the 64-bit edition of Windows 7 Beta, Build 7000 (I’m not installing the Release Candidate until later this week). I’m installing the 64-bit version of MySQL Server 5.1 Community Edition, but whether you’re installing the 32- or 64-bit version on Windows XP, Vista or 7, your experience should be roughly the same.</p>
<p>Here’s what you should see when you launch the installer:</p>
<p align="left"><a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/01.gif"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="01" border="0" alt="01" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/01-thumb.gif" width="504" height="382" /></a></p>
<h3>Which Setup Type?</h3>
<p align="left">The first choice you have to make is the type of setup you want:</p>
<p align="left"><a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/02.gif"><font color="#111111"></font><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="02" border="0" alt="02" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/02-thumb.gif" width="508" height="386" /></a></p>
<p align="left">The three choices offered are:</p>
<ol>
<li>
<div align="left"><strong>Typical:</strong> Installs the basic components for MySQL to the default installation path, <code>C:\Program Files\MySQL\MySQL Server 5.1\</code>, including:</div>
<ul>
<li>
<div align="left">The MySQL server</div>
</li>
<li>
<div align="left">The mysql command-line client</div>
</li>
<li>
<div align="left">Other command-line utilities like mysqldump, myisamchk and more.</div>
</li>
</ul>
</li>
<li>
<div align="left"><strong>Complete:</strong> Installs all the MySQL components to the default installation path, <code>C:\Program Files\MySQL\MySQL Server 5.1\</code>, including those listed in the Typical setup, plus:</div>
<ul>
<li>
<div align="left">Documentation</div>
</li>
<li>
<div align="left">The embedded server library</div>
</li>
<li>
<div align="left">The benchmark suite</div>
</li>
<li>
<div align="left">Support scripts</div>
</li>
</ul>
</li>
<li>
<div align="left"><strong>Custom:</strong> Gives you complete control over the components installed and the installation path.</div>
</li>
</ol>
<p align="left">Although the components in the Typical setup will work fine for most web development purposes, <strong>I like having the docs handy, so I went with the Complete setup.</strong></p>
<p align="left">Once you’ve selected the setup, you’ll be shown a confirmation window like the one below:</p>
<p align="center">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/03.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="03" border="0" alt="03" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/03-thumb.gif" width="508" height="386" /></a></p>
<p align="left">Once MySQL has been installed, you’ll see the window below:</p>
<p align="center">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/04.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="04" border="0" alt="04" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/04-thumb.gif" width="508" height="386" /></a></p>
<p align="left">You’ll be given the choice to configure MySQL server, which I recommend. You can do so by leaving the <strong>Configure the MySQL Server now</strong> checkbox checked and then clicking <strong>Finish</strong>.</p>
<h3>The Configuration Wizard</h3>
<p align="left">Here’s the first window of the Configuration Wizard:</p>
<p align="center">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/05.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="05" border="0" alt="05" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/05-thumb.gif" width="508" height="386" /></a></p>
<h3>Which Configuration?</h3>
<p align="left">You’ll be asked which configuration type to use:</p>
<p align="center">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/06.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="06" border="0" alt="06" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/06-thumb.gif" width="508" height="386" /></a></p>
<p align="left">The two choices offered are:</p>
<ol>
<li>
<div align="left"><strong>Detailed Configuration:</strong> Gives you fine-grained control over the configuration process. <strong>I’m familiar with the options being offered, so this is the option I chose. </strong>If you choose this option, you will have to make some additional choices in the windows that follow.</div>
</li>
<li>
<div align="left"><strong>Standard Configuration:</strong> If you’re new to MySQL and need a server configured as a single-user developer machine, this configuration should suit your needs. If you choose this option, you’ll skip the next few steps and go directly to the Root Password window.</div>
</li>
</ol>
<h3>Detailed Configuration Options</h3>
<p align="left">If you chose to use the Detailed Configuration, you will see the following windows.</p>
<h4>Server Type</h4>
<p align="left">The first choice in the Detailed Configuration is Server Type:</p>
<p align="center">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/07.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="07" border="0" alt="07" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/07-thumb.gif" width="508" height="386" /></a></p>
<p align="left">The three options are:</p>
<ol>
<li><strong>Developer Machine:</strong> This setup assumes that MySQL will be running on a machine used to write applications, where the database will be used for basic developer proofs of concept and simple testing. MySQL will be configured to use minimal system resources. <strong>This is the option I selected.</strong> </li>
<li><strong>Server Machine:</strong> This setup is for server systems where MySQL will be running along with other server applications such as a web server, mail server, FTP server and so on. MySQL will be configured to use a moderate portion of the system resources. </li>
<li><strong>Dedicated MySQL Server Machine:</strong> This is for machines that will be running only MySQL. in this configuration, MySQL will be configured to use all available system resources. </li>
</ol>
<h4>Storage Engines</h4>
<p>The next choice to make is selecting the storage engines to be used: MyISAM or InnoDB. If you’re not familiar with MySQL, you’re probably asking “What’s the difference between InnoDB and MyISAM?”</p>
<p align="left">Of the two engines, <strong>MyISAM</strong> is the older of the two, and the default engine. The general consensus is that in most cases, it’s faster than InnoDB for typical CRUD operations. It supports up to around 4 billion rows of data and 64 indexed fields per table. MyISAM uses table-level locking, which means than when a row is being updated, the table is locked and no other operations can update any other rows until the first row is updated and the lock on the table is released.</p>
<p align="left"><strong>InnoDB</strong> is the newer (and some would say <em>sexier</em>) engine. It’s called “the transactional one”, and it’s built with data integrity in mind. It supports foreign key constraints, meaning that changes to a table (say, “Actors”) that references another table (say, “Movies”) are allowed only if those changes leave both in a valid state. For example, you wouldn’t be able to delete a row from the “Actors” table if it referenced any rows in the “Movies” table (that is, you can’t remove an actor from the database if s/he’s listed as starring in any movies). It also supports row-level locking, which means that so that more than one row can be updated at the same time.</p>
<p align="left">The general guidelines for choosing between MyISAM and InnoDB are as follows:</p>
<ul>
<li>
<div align="left"><strong>Will your use of the database be mostly <em>reading</em>?</strong> That is, will you be doing mostly select operations and few insert, update and delete operations? Then you want MyISAM.</div>
</li>
<li>
<div align="left"><strong>Will your use of the database involve at least as many writes as reads, if not more?</strong> That is, will you be doing as many insert, update and delete operations as select operations? Then you want InnoDB.</div>
</li>
<li>
<div align="left"><strong>Do you need full-text search?</strong> You want MyISAM.</div>
</li>
<li>
<div align="left"><strong>Do you need to conserve disk space and RAM?</strong> You want MyISAM.</div>
</li>
<li>
<div align="left"><strong>Does the idea of using a non-SQL Server database irk you?</strong> You might feel better going with InnoDB, since it has the row-level locking, transaction safety and generally more “relational” feel.</div>
</li>
</ul>
<p align="left"><strong>Keep in mind that when adding a table to a MySQL database, you can specify which engine it uses.</strong> Lately, I’ve been in the habit of specifying InnoDB for most tables <em>except </em>those on which I want to provide full-text search; for those, I’ve specified MyISAM. (For more on specifying engines when creating tables, see <a href="http://dev.mysql.com/doc/refman/5.1/en/create-table.html">MySQL’s page on the <strong><code>create table</code></strong> command</a>.)</p>
<p align="left">Now that I’ve done a quick review of MyISAM and InnoDB, let’s look at the storage engine choices that the Configuration Wizard offers.</p>
<p align="center">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/08.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="08" border="0" alt="08" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/08-thumb.gif" width="508" height="386" /></a></p>
<p align="left">The three choices are:</p>
<ol>
<li>
<div align="left"><strong>Multifunctional Database:</strong> This enables both InnoDB and MyISAM storage engines and divides resources evenly between the two. This is the recommended option for developers who use both storage engines on a regular basis. <strong>It’s the option I chose, since it yields the most flexibility.</strong></div>
</li>
<li>
<div align="left"><strong>Transactional Database Only:</strong> This enables both InnoDB and MyISAM storage engines, but dedicates more resources to the InnoDB engine.</div>
</li>
<li>
<div align="left"><strong>Non-Transactional Database Only:</strong> This option completely disables InnoDB; all resources are dedicated to the MyISAM storage engine.</div>
</li>
</ol>
<p align="left">If you chose Multifunctional Database or Transactional Database Only, you’ll be presented a windows asking you where to put the InnoDB tablespace:</p>
<p align="left">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/09.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="09" border="0" alt="09" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/09-thumb.gif" width="508" height="386" /></a></p>
<p align="left"><strong>I went with the default,</strong> which puts the tablespace in the MySQL installation directory.</p>
<h4>Concurrent Connection Settings</h4>
<p align="left">The next window is all about the number of concurrent connections supported:</p>
<p align="center">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/10.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="10" border="0" alt="10" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/10-thumb.gif" width="508" height="386" /></a></p>
<p align="left">The three choices offered are:</p>
<ol>
<li>
<div align="left"><strong>Decision Support (DSS)/OLAP:</strong> This assumes an average of around 20 concurrent connections, with a maximum of 100 concurrent connections supports. <strong>I chose this option, as it works for most development scenarios.</strong></div>
</li>
<li>
<div align="left"><strong>Online Transaction Processing: </strong>This supports up to 500 concurrent connections and is generally for production use.</div>
</li>
<li>
<div align="left"><strong>Manual Setting:</strong> This lets you specify a specific number of connections. I’ve seen it used mostly for testing.</div>
</li>
</ol>
<h4>Networking Options</h4>
<p>The next window concerns itself with networking options:</p>
<p><a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/11.gif"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="11" border="0" alt="11" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/11-thumb.gif" width="508" height="386" /></a></p>
<p align="left">Port 3306 is the default MySQL port, so that’s what I went with; I also checked the <strong>Add firewall exception for this port</strong> checkbox. I also left the <strong>Enable Strict Mode</strong> checkbox checked.</p>
<h4>Default Character Encoding</h4>
<p align="left">Now it’s time to select the default character encoding:</p>
<p align="center">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/12.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="12" border="0" alt="12" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/12-thumb.gif" width="508" height="386" /></a></p>
<p align="left">You’re given a number of options, but I suggest you go with my choice. <strong>I chose UTF-8 because it’s the encoding of the Web.</strong></p>
<h4><strong>Service Options</strong></h4>
<p align="left">Here’s the next window:</p>
<p align="center">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/13.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="13" border="0" alt="13" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/13-thumb.gif" width="508" height="386" /></a></p>
<p align="left">I strongly recommend:</p>
<ul>
<li>
<div align="left">Checking the <strong>Install As Windows Service</strong> checkbox. When installed as a Windows service, MySQL can be started automatically at system startup and restarted in the event of a service failure.</div>
</li>
<li>
<div align="left">Going with the default service name of <strong>MySQL </strong>unless there’s already an instance of MySQL installed, in which case you’ll want to provide a different name. Note that service names should be 255 characters or less and can have any legal character except for the forward-slash (/) or backslash (/).</div>
</li>
<li>
<div align="left">Checking the <strong>Launch the MySQL Server automatically</strong> checkbox.</div>
</li>
<li>
<div align="left">Checking the <strong>Include Bin Directory in Windows PATH</strong> checkbox. You’ll save yourself a lot of typing if you do this. </div>
</li>
</ul>
<h4>Security Options</h4>
<p align="left">And now, the Security Options window…</p>
<p align="center">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/14.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="14" border="0" alt="14" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/14-thumb.gif" width="508" height="386" /></a></p>
<p align="left">You’ll be asked to provide a password for the <strong>root</strong> user twice.</p>
<p align="left">You can also choose to:</p>
<ul>
<li>
<div align="left"><strong>Enable root access from remote machines.</strong> I don’t really need this on my development machine, so <strong>I <em>didn’t</em> check this checkbox</strong>.</div>
</li>
<li>
<div align="left"><strong>Create an anonymous account.</strong> I don’t need this either, so <strong>I <em>didn’t</em> check this checkbox</strong>.</div>
</li>
</ul>
<h4>Go!</h4>
<p align="left">That’s it for all the option setting. You’ll now be presented with this window:</p>
<p align="center">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/15.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="15" border="0" alt="15" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/15-thumb.gif" width="508" height="386" /></a></p>
<p align="left">If you’re satisfied with your configuration choices in the previous windows, click the <strong>Execute</strong> button. You’ll be presented with this window as your reward:</p>
<p align="center">&#160;<a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/16.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="16" border="0" alt="16" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/16-thumb.gif" width="508" height="386" /></a></p>
<p>…and you’re done!</p>
<h3>Taking it for a Quick Spin</h3>
<p>Let’s take MySQL for a quick spin to confirm it’s working. We’ll do this using the <code>mysql</code> command-line client and logging in as <strong>root</strong>. There are a couple of ways to do this. One is by firing up the <strong>MySQL Command Line Client </strong>from your Windows menu (or Start Menu on XP):</p>
<p><a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/start-menu.gif"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="start_menu" border="0" alt="start_menu" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/start-menu-thumb.gif" width="239" height="97" /></a></p>
<p>A command-line window will pop up, where you’ll be prompted to enter the root password. Enter it, and you’ll be in the command-line client!</p>
<p><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="prompt_01" border="0" alt="prompt_01" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/prompt-01.gif" width="500" height="253" /></p>
<p>The other way is to fire up the <strong>Command Prompt</strong> and (if you specified that you wanted MySQL’s <code>bin</code> directory included in Windows’ PATH, which you should have), enter <strong><code>mysql –u root –p</code></strong>. The <code>-u</code> switch is for specifying a username, and the <code>-p</code> switch is for specifying that you will be providing a password for the specified username.</p>
<p>You’ll be prompted to enter a password. Enter the root password and you’ll be in the command-line client:</p>
<p><a href="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/prompt-02.gif"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="prompt_02" border="0" alt="prompt_02" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/05/prompt-02-thumb.gif" width="500" height="253" /></a>&#160;</p>
<p>And MySQL is ready to use! You can now use the Web Platform Installer to install PHP-based apps that require MySQL.</p>
<p>I can’t give you a walkthrough of MySQL’s command line – that’ll have to wait for another article, or you might want to check out <a href="http://www.redhat.com/magazine/007may05/features/mysql/">this article</a> – but here’s a quick one: the <strong><code>show databases;</code></strong> command (don&#8217;t forget the semicolon at the end!) will return a list of all the databases currently in the system.</p>
<p>Happy MySQLing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.globalnerdy.com/2009/05/04/installing-mysql-server-51-on-windows/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Wubi: Peaceful Coexistence between Vista and Ubuntu &#8220;Hardy Heron&#8221;</title>
		<link>http://www.globalnerdy.com/2008/05/01/wubi-peaceful-coexistence-between-vista-and-ubuntu-hardy-heron/</link>
		<comments>http://www.globalnerdy.com/2008/05/01/wubi-peaceful-coexistence-between-vista-and-ubuntu-hardy-heron/#comments</comments>
		<pubDate>Thu, 01 May 2008 17:58:18 +0000</pubDate>
		<dc:creator>Joey deVilla</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Gutsy Gibbon]]></category>
		<category><![CDATA[Hardy Heron]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Wubi]]></category>

		<guid isPermaLink="false">http://globalnerdy.com/?p=1615</guid>
		<description><![CDATA[<p style="text-align:center;"><a href="http://globalnerdy.com/2008/05/01/wubi-peaceful-coexistence-between-vista-and-ububtu-hardy-heron/"><img src="http://globalnerdy.com/wordpress/wp-content/uploads/2008/04/mac_unix_vista.jpg" width="400" height="399" /></a></p>

<p>I had trouble getting Ubuntu Gutsy Gibbon to work on my Toshiba laptop, but heard that Hardy Heron was a significantly more compatible distro and had a little Windows installer called <strong>Wubi</strong> that would simply things greatly.</p>

<p><a href="http://globalnerdy.com/2008/05/01/wubi-peaceful-coexistence-between-vista-and-ububtu-hardy-heron/"><strong>Read on for my report of installing Ubuntu using Wubi...</strong></a></p>]]></description>
			<content:encoded><![CDATA[<p></p><h3>Switching Machines</h3>
<p>The place where I work, <a href="http://b5media.com">b5media</a>, is a business built on <a href="http://wordpress.org/">WordPress, which is based on the <a href="http://en.wikipedia.org/wiki/LAMP_(software_bundle)">LAMP</a> stack (where the &#8220;P&#8221; means &#8220;PHP&#8221;). Although my formal job title at b5 is &#8220;Technical Project Manager&#8221; and not &#8220;Developer&#8221;, the job titles aren&#8217;t rigidly defined, and I&#8217;d like to contribute my own developer skills at some point. Furthermore, I think that if you manage developers, you really should have some development skills and keep them sharp.</p>
<p>My preferred LAMP development platform is Mac OS X, which I feel delivers the best of both worlds: the functionality of a Unix-y operating system and the user experience &#8212; and dare I say, tasteful design &#8212; for which Apple is known and loved. In my former life at <a href="http://about.tucows.com">Tucows</a>, I used my own PowerBook G4 as my primary machine, which is now my wife&#8217;s. Later, when I went to <a href="http://tsotinc.com/">TSOT</a>, they provided me with a 15&#8243; MacBook Pro. When I left TSOT to join b5, the machine waiting for me was a <a href="http://www.cnet.com.au/laptops/laptops/0,239035649,339276024,00.htm">Toshiba P200</a>. For the first time since early 2003, my primary work machine was a PC running Vista.</p>
<p>It <em>is</em> possible to get work done in Vista, using it as a LAMP development machine feels a little awkward. While I&#8217;ve had no trouble setting up PHP under previous versions of IIS (in fact, I think my no-longer-existent docs for doing so on a Tucows site are pretty good), I have yet to successfully do it on the current version. I&#8217;ve had some success with installable LAMP stacks like Bitnami and WAMP, but somehow they still felt clunky. I also kept typing Unix commands at the DOS command line.</p>
<p>What I needed was a Unix I could run on my Toshiba.</p>
<h3>A First Attempt at Ubuntu: Gutsy Gibbon</h3>
<p>Installing Ubuntu on a desktop machine, even a &#8220;white label&#8221; one built in the dingy discount computer shop with lots of off-brand peripherals hanging on the walls, generally runs without a hitch. Getting Ubuntu to work on a laptop has typically been a completely different matter: there are generally incompatibilities galore and you have to do a lot of <a href="http://projects.csail.mit.edu/gsb/old-archive/gsb-archive/gsb2000-02-11.html">yak shaving</a> in order to get a working system.</p>
<p>I first tried to install Ubuntu 7.10, a.k.a. &#8220;Gutsy Gibbon&#8221;, on the Toshiba. My experiences:</p>
<ul>
<li>The video card worked, although it wouldn&#8217;t go to the maximum resolution (1440 by 900) without installing <code>xserver-xorg-video-intel 2.1.9.94</code>, which is explained <a href="http://ubuntuforums.org/showthread.php?t=434297">here</a>.</li>
<li>Sound didn&#8217;t work in the beginning, but once again, a little Googling found <a href="http://ubuntuforums.org/showthread.php?p=2901098">the fix</a>. Since I use Skype voice chat in regular meetings with remote b5 developers, working audio is important. One downside: the speakers output audio even though headphones were plugged in.</li>
<li>The webcam and card reader didn&#8217;t work at all. These weren&#8217;t dealbreakers, but they were annoying.</li>
<li>My model doesn&#8217;t have it, but some versions of the Toshiba P200 come with a fingerprint reader. True to the stereotypes of the priorities of Linux people, <a href="http://ubuntuforums.org/showthread.php?t=504219">the fingerprint reader is reported to work without any tweaking required.</a></li>
</ul>
<p>I decided that I was doing more tweaking than working, so I decided to wait until Hardy Heron&#8217;s release, as it promised greater compatibility and a feature called &#8220;Wubi&#8221; that might meet my needs.</p>
<h3>Installing Hardy Heron via Wubi</h3>
<p><a href="http://wubi-installer.org/"><strong>Wubi</strong></a> stands for <strong>W</strong>indows-based <strong>Ub</strong>untu <strong>I</strong>nstaller that lets you install Ubuntu as if it were a Windows application. It doesn&#8217;t require any disk formatting or partitioning; the Ubuntu filesystem lives in a disk image within Windows&#8217; filesystem. This setup allows Windows users to &#8220;try before they buy&#8221;, letting them take Ubuntu for a spin while still keeping their Windows applications and data.</p>
<p>Installation is dirt simple. You simply <a href="http://wubi-installer.org/latest.php">download the Wubi installer</a> and double-click on it&#8230;</p>
<p style="text-align:center;"><img src="http://globalnerdy.com/wordpress/wp-content/uploads/2008/04/wubi_icon.gif" alt="Wubi icon" title="wubi_icon" width="87" height="89" /></p>
<p>&#8230;which takes you to this window, where you enter just enough data to start the installation process:</p>
<p style="text-align:center;"><img src="http://globalnerdy.com/wordpress/wp-content/uploads/2008/04/wubi-1.gif" alt="Wubi setup app - first screen" title="wubi-1" width="513" height="397" /></p>
<p>You need only enter these six pieces of information to install Ubuntu using Wubi:</p>
<ul>
<li>The drive on which Ubuntu is to be installed</li>
<li>The amount of disk space to allot to Ubuntu (up to a maximum of 30GB)</li>
<li>Which desktop environment to use</li>
<li>Which language to use</li>
<li>A username</li>
<li>A password</li>
</ul>
<p>Once you&#8217;ve provided this information, click <strong>Install</strong>&#8230;and that&#8217;s it. The installer does the rest:</p>
<p style="text-align:center;"><img src="http://globalnerdy.com/wordpress/wp-content/uploads/2008/04/wubi-2.gif" alt="Wubi setup app - second screen" title="wubi-2" width="513" height="397" /></p>
<p>And soon afterwards, you&#8217;re greeted by this window, which prompts you to reboot your computer:</p>
<p style="text-align:center;"><img src="http://globalnerdy.com/wordpress/wp-content/uploads/2008/04/wubi-3.gif" alt="Wubi setup app - third screen" title="wubi-3" width="513" height="397" /></p>
<p>And soon afterwards, you&#8217;re greeted with this screen:</p>
<p style="text-align:center;"><img src="http://globalnerdy.com/wordpress/wp-content/uploads/2008/05/boot_screen_menu.jpg" alt="Boot screen menu for Windows / Ubuntu" title="boot_screen_menu" width="450" height="338" /></p>
<p>You&#8217;ll see this screen every time you boot up from now (or at least until you uninstall Wubi, which you do from within Windows; uninstalling Wubi is as simple as uninstalling any other Windows app).</p>
<p>Finally, you&#8217;ll see this:</p>
<p style="text-align:center;"><img src="http://globalnerdy.com/wordpress/wp-content/uploads/2008/05/ubuntu_login_screen.jpg" alt="Ubuntu login screen" title="ubuntu_login_screen" width="450" height="338" /></p>
<p>I logged in and started checking to see if Ubuntu recognized devices on my laptop:</p>
<ul>
<li><strong>Video:</strong> check! All resolutions right up to the maximum of 1440 by 900 were supported.</li>
<li><strong>Sound:</strong> check!</li>
<li><strong>Card reader:</strong> check!</li>
<li><strong>Wireless:</strong> check!</li>
<li><strong>Webcam:</strong> once I <a href="http://ubuntuforums.org/showthread.php?t=432295">installed Skype</a>, check!</li>
<li><strong>Volume dial:</strong> (It&#8217;s a hardware dial that sends volume-change messages to the system) check! </li>
<li><strong>Screen brighten/dim buttons:</strong> check!</li>
</ul>
<p>I checked the filesystem and found that the Windows filesystem was accessible via the <code>host</code> directory, meaning that I could access any files on the Windows portion of the system. I set things up so that my home directory in Ubuntu had links to some of the folders in my user directory in Windows.</p>
<p>All in all, it was the least complex Linux installation experience I&#8217;ve ever had. If you&#8217;re a Windows user thinking about giving Linux a try, I highly recommend taking Wubi out for a spin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.globalnerdy.com/2008/05/01/wubi-peaceful-coexistence-between-vista-and-ubuntu-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
