![]()
Step 1: Installing the mySQL 5.1 Database Server
Join me as I do a step-by-step installation of the mySQL 5.1 database server on my Windows XP Professional machine.
- This page was last updated April 20, 2009. Over time, the instructions may become outdated as external changes are made ie. the mySQL website.
- I'm using dBASE Plus 2.61.5, Windows XP Professional and Mozilla Firefox 3 web browser. Some steps and/or screen messages may vary slightly if you are using different products.
- If you have a previous installation of mySQL server on your machine, please check the version. If upgrading from versions of MySQL prior to 4.1.5, you must uninstall the existing version before installing a new version. Later versions may be upgraded with the installer without uninstalling.
- The database installation is plain vanilla - I am sticking with typical options and basic functionality. The goal is to install a general-purpose mySQL database.
- Click on the mySQL logo above, which will open a new browser window and take you to the homepage of mySQL AB, a Swedish company which sells commercial versions of mySQL, and sells support for mySQL. To their credit, they also provide the free open-source versions, which is what we are interested in. Sometimes, it seems that it is intentionally difficult to find and the names of things seem to change, but at least it is there. Thank you, mySQL AB.
- There is a set of tabs near the top of the page. Click on the 'Developer Zone' tab.
- On the left side of the page, look for:
MySQL Server Community Edition * GA 5.0.77 * GA 5.1.34 * Alpha 6.0.10Click on the 'GA 5.1.34' link. (GA stands for Generally Available)- The page that appears will give you a side-by-side comparison of the Free vs. Paid versions of mySQL server. Read all of the interesting and informative stuff. If you are comfortable with the "Do It Yourself" points, click on 'Download >>' and then scroll down to 'Windows Downloads'.
- If you are interested, you can read about the different packages and compare them by clicking on the "(platform notes)" link beside the Windows Downloads heading.
- Below that heading are the different Windows packages. I prefer to use the 'Windows Essentials' version - it uses .msi (Microsoft Installer) and it is much smaller than the others.
- Click on 'Download' and any other warnings or notifications by your browser or operating system.
- You may be taken to a survey screen, in which case you can answer the questions or click on the 'No thanks, just take me to the Downloads!' link.
- When the download is complete, double-click on the .msi file to start the installation process.
- The first screen gives general information:
Click on 'Next'.- The next screen is for Setup Type. I am going to leave it on 'Typical' as I have no customizations to make at this time. Click on 'Next'.
- The next screen is a summary of installation choices. Review them and click on 'Install' if you are happy. If not, you can click 'Back' and make changes.
- The installation begins, and a progress bar tracks the progress. At one point, I was presented with 2 screens of advertising for mySQL Enterprise products. I clicked 'Next'.
- The next screen tells us that the installation wizard is done and offers the option to 'Configure the mySQL Server now'. Make sure that this is checked. Click on 'Finish'.
- The next screen welcomes us to the 'mySQL Server Instance Configuration Wizard 1.0.15.0'. Read the valuable information and click on 'Next'.
- On the next screen, choose 'Detailed Configuration' and then 'Next':
- On the next screen, choose 'Developer Machine' and then 'Next':
- On the next screen, I chose 'Multifunctional Database' for maximum flexibility. Make your choice, then click on 'Next':
- There are 4 screens of configuration that follow. I accepted the default values for all 4 screens, and simply clicked 'Next' on each page. The configuration pages deal with InnoDB tablespace settings, expected number of concurrent users, networking options, language drivers, and startup options.
- The next screen allows us to set security options. In my case, I will only be connecting to the machine locally so all I have to do is enter a password for the administrator account and retype it. The userID for this administrator account is 'root'. Be sure to write the userID and password down somewhere secure so that when you come back in 3 months, you will be able to access your server. I do not want to allow root access remotely or create an anonymous account - both of these options could create insecurity and we don't want that. Click on 'Next'.
- The next screen will give us some feedback as it attempts to do the configuration. Click on 'Execute' and watch carefully as it does things.
- When it's all over, the screen shows:
Be sure to take note of where the configuration file is located, in case you have to do any tweaking. Click on 'Finish'.- Just to be sure, I opened up my 'Services' console and sure enough, there it was. Already running and configured to start automatically.
Next: Step 2: Installing the mySQL ODBC Driver 3.51
The MySQL Logo is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Problems? Comments? Please contact us.
© ChelseaData.ca Home About