If you are upgrading an existing version of the same series of Windows Essentials to a more recent one, the first dialog box will inform you that it has detected your current installation. You may also see extra dialog boxes connected with the upgrade process. Normally they require no user input, but are there to inform you what is happening. Click Next to continue.
The installer will not treat the installation of a different series – say from MySQL 4.1 to MySQL 5.1 – as an upgrade, because Windows treats each series as a separate program.
If the Configuration Wizard fails to launch or if you ever need to change any of the settings, you can access it at any time by clicking on the Windows Start button and then choosing Programs > MySQL > MySQL Server 5.1 > MySQL Server instance Config Wizard.
What’s the difference between MyISAM and InnoDB? Both have their advantages and drawbacks. MyISAM is faster and uses considerably less disk space to store data. The advantage of InnoDB is that it supports foreign key constraints and transactions– advanced features that are not expected to be available on MyISAM for some time. Foreign key constraints are useful in preserving the integrity of your data. Transactions ensure that a set of SQL queries is performed as a single operation – if one part fails, the whole operation is abandoned. This is important for databases that perform financial transactions, as it prevents money being transferred from one account to another if sufficient funds are not available.
You can mix different table types in the same database, and it is very easy to convert an existing table from MyISAM to InnoDB and vice versa. If you’re unsure what to do, select Non-Transactional Database Only. If you ever decide you need InnoDB tables, all you need to do is run the configuration wizard again and choose Multifunctional Database.
Select the drive and directory for your InnoDB tablespace if you selected Multifunctional or Transactional Database type in the previous screen. The option will be grayed out if you are upgrading or if you selected Non-Transactional Database only in the previous page of the Wizard.
Windows Service – This setting will allow MySQL to startup automatically when you boot your computer. If MySQL has already been installed as a Windows Service, this section will be grayed out. If for any reason you don’t want MySQL to start automatically, uncheck the Launch the MySQL Server Automatically option. You can easily change this option if you change your mind later.
The lower half of the dialog box gives you the option to included the bin directory in your Windows PATH (remember the Environment Variables?) This will allow you to interact directly with MySQL and its related utilities at the command line without the need to change directories every time. Make sure this checkbox is selected and click Next.
If you get a warning message that says “A Windows service with the name MySQL already exists. Are you sure you want to use the servicename?” it means that MySQL is already installed as a Windows Service. If you click yes, the wizard will continue happily, but then fail at the final hurdle. You must click NO, and choose a different name from the dropdown menu in the Service Name field.
Click the Modify Security Settings checkbox in the next step of the wizard and enter a password to allow you to access the root database administrator account. Do not check the Enable root access from remote machines option unless you plan to access your MySQL from a different computer over a network. Do not check the Create an Anonymous account checkbox. This can cause security risks. If you are upgrading, these options will be grayed out. Select the Modify Security Settings checkbox to make any changes.
Click Next and then click Execute to run the Configuration Wizard. If you have installed a firewall such as Norton Internet Security, it will probably warn you that MySQL is trying to connect to the DNS server and suggest that you always block it. You must allow the connection, otherwise, MySQL will never work. Configure your firewall to allow inward and outward connections on port 3306, or allow MySQL to connect using all ports.
As the configuration process proceeds, each item will be checked off. When all items are checked, click the Finish button. MySQL will be started automatically even if you selected the option to not start automatically.