<?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; setup</title>
	<atom:link href="http://www.globalnerdy.com/tag/setup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.globalnerdy.com</link>
	<description>Tech Evangelist Joey deVilla on Shopify, startups, software development, tech news and other nerdy stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:30:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Setting Up for TechDays Montreal</title>
		<link>http://www.globalnerdy.com/2009/12/04/setting-up-for-techdays-montreal/</link>
		<comments>http://www.globalnerdy.com/2009/12/04/setting-up-for-techdays-montreal/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 15:25:07 +0000</pubDate>
		<dc:creator>Joey deVilla</dc:creator>
				<category><![CDATA[Meetups]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[What Joey Did]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[behind the scenes]]></category>
		<category><![CDATA[Montreal]]></category>
		<category><![CDATA[photo essay]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[TechDays]]></category>

		<guid isPermaLink="false">http://www.globalnerdy.com/2009/12/04/setting-up-for-techdays-montreal/</guid>
		<description><![CDATA[TechDays is no small undertaking: it’s a seven-city two-day conference tour with over 40 sessions featuring content from the TechEd North America 2009 conference and delivered by local and “imported” speakers (we try to get local speakers) to hundreds of developers and IT pros in each city. Montreal was the fifth stop on the tour, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><strong><a href="http://techdays.ca/">TechDays</a> is no small undertaking:</strong> it’s a seven-city two-day conference tour with over 40 sessions featuring content from the <a href="http://www1.msteched.com/teched/default.aspx">TechEd North America 2009</a> conference and delivered by local and “imported” speakers (we try to get local speakers) to hundreds of developers and IT pros in each city. Montreal was the fifth stop on the tour, and<strong> I thought I’d show you some behind-the-scenes stuff that took place on Tuesday, the day <em>before</em> TechDays Montreal took place.</strong></p>
<p>Keep in mind that what you’re seeing here is the setup for the conference’s technical content and only a small portion of what goes on to make TechDays happen. In a later entry, I’ll show you photos of that many other people who make Techdays run smoothly: the event coordinators, A/V team, benue staff, and Windows lounge volunteers.</p>
<p>Tuesday started with a hearty breakfast at <strong><a href="http://dunnsfamous.com/">Dunn’s</a></strong>, which I enjoyed with my coworkers <strong><a href="http://twitter.com/Rickster_CDN">Rick Claus</a></strong>, <strong>Pierre Roman</strong>, <strong><a href="http://twitter.com/cbeauclair/">Christian Beauclair</a></strong> and my road trip buddy <strong><a href="http://twitter.com/damirb">Damir Bersinic</a></strong>.&#160; </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="01 dunns" border="0" alt="01 dunns" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/01dunns.jpg" width="600" height="450" /> </p>
<p>With hunger satisfied, it was time to make our way to the <strong>Centre Mont-Royal</strong> to transform the place into TechDays Montreal. Here’s one of the smaller rooms, just after the A/V setup and before the chairs were rolled in:</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="02 Cartier 1" border="0" alt="02 Cartier 1" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/02Cartier1.jpg" width="600" height="450" /> </p>
<p><strong>TechDays Montreal was sold out,</strong> so we had to provide overflow seating outside the rooms, just in case. At Techdays, we place a large monitor outside every room with a live feed to the audio and video from the presentation.</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="03 overflow seating" border="0" alt="03 overflow seating" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/03overflowseating.jpg" width="600" height="450" /> </p>
<p>Here’s one of the larger theatres. Some of our sessions could easily pack one of these rooms.</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="04 large theater" border="0" alt="04 large theater" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/04largetheater.jpg" width="600" height="450" /> </p>
<p>It meets with Christian’s approval:</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="05 christian approves" border="0" alt="05 christian approves" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/05christianapproves.jpg" width="600" height="450" /> </p>
<p>We TechDays organizers aren’t just a bunch of pretty faces: we move our own gear (and remember, we need enough computers and ancillary equipment to support over 40 tech demos!). So it was off to the loading dock to get the demo machines – assuming we survive the cargo elevator ride. Here’s a photo of Pierre learning why dangling clothing and cargo elevators where you have direct exposure to the elevator shaft don’t mix:</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="06 maudit ascenseur" border="0" alt="06 maudit ascenseur" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/06mauditascenseur.jpg" width="600" height="450" /> </p>
<p>“Sixteen years at the company and I <em>still</em> don’t have any roadies! I wonder if <a href="http://en.wikipedia.org/wiki/Steve_Ballmer">Ballmer</a> has to lug his own demo gear….”</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="07 christian and hand truck" border="0" alt="07 christian and hand truck" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/07christianandhandtruck.jpg" width="450" height="600" /> </p>
<p>“Why’d this thing get so heavy all of a sudden?”</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="08 why is this so heavy" border="0" alt="08 why is this so heavy" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/08whyisthissoheavy.jpg" width="600" height="450" /> </p>
<p>The answer, of course, is Pierre:</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="09 pierre on cart" border="0" alt="09 pierre on cart" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/09pierreoncart.jpg" width="450" height="600" /> </p>
<p>Conference wifi is a very expensive proposition, with many venues asking for hundreds of dollars per user. In order to keep the cost of TechDays affordable (early bird registration is under $300, which is a steal). we decided to forgo the conference wifi and provide internet kiosks instead. The kiosks were Dell laptops, which we had to initialize with clean copies of Windows 7 with both French and English settings.</p>
<p>To make setup simpler, we laid out the machines in a row and worked on them in assembly line fashion, each one of us performing a specific task to set up the machine. I was step 1: boot up, delete old virtual hard drive, and copy new virtual hard drive from the appropriate USB key…</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="12a usb keys" border="0" alt="12a usb keys" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/12ausbkeys.jpg" width="600" height="450" /> </p>
<p>to various machines, starting with these ones…</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="10 trio of dells" border="0" alt="10 trio of dells" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/10trioofdells.jpg" width="600" height="450" /> </p>
<p>…after which I moved on to these machines…</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="11 row of dells" border="0" alt="11 row of dells" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/11rowofdells.jpg" width="600" height="450" /> </p>
<p>…and then these machines:</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="12 even more machines" border="0" alt="12 even more machines" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/12evenmoremachines.jpg" width="600" height="450" /> </p>
<p>…and of course, there’s the matter of setting up the machines that would be used in the presentations.</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="13 starting setup" border="0" alt="13 starting setup" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/13startingsetup.jpg" width="600" height="450" /> </p>
<p>I had to duck out of the setup room for a little bit to record the <strong>Developer Night in Canada</strong> podcast with <a href="http://twitter.com/jbristowe">John Bristowe</a> – we were doing an interview with the folks at <a href="http://www.habaneros.com/">Habanero Consulting Group</a>:</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="podcast" border="0" alt="podcast" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/podcast.jpg" width="600" height="450" /> </p>
<p>Dell is our hardware sponsor, and they provided an assortment of computers, from the netbooks, which were used as secondary PowerPoint machines, to the copper-coloured “Dellasaurus” machines, big honking laptops with serious horsepower for sever demos:</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="14 machines in crates" border="0" alt="14 machines in crates" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/14machinesincrates.jpg" width="600" height="800" /> </p>
<p>Here’s Pierre doing some setup with Christian shoulder-surfing:</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="15 pierre is leeeroy jenkins" border="0" alt="15 pierre is leeeroy jenkins" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/15pierreisleeeroyjenkins.jpg" width="450" height="600" /> </p>
<p>Here’s Rick, who can sometimes kill technology by just <em>looking at it</em>, pleased that his setup works:</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="16 rick claus" border="0" alt="16 rick claus" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/16rickclaus.jpg" width="600" height="450" /> </p>
<p>And finally, a photo of the last two machines to be set up: the rig for the lunchtime demos:</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="17 lunchroom" border="0" alt="17 lunchroom" src="http://www.globalnerdy.com/wordpress/wp-content/uploads/2009/12/17lunchroom.jpg" width="600" height="450" /></p>
</p>
<p class="alert"><a href="http://blogs.msdn.com/cdndevs/archive/2009/12/04/setting-up-for-techdays-montreal.aspx">This article also appears in <em>Canadian Developer Connection</em>.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.globalnerdy.com/2009/12/04/setting-up-for-techdays-montreal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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>30</slash:comments>
		</item>
	</channel>
</rss>

