Sunteți pe pagina 1din 16

MySQL 5.5.

16- Installation Guide on Windows NT/2000/XP Professional/XP Home/Vista/Windows 7


Welcome to the Installation1 Notes for MySQL 5.5.16 - Installation Guide on Windows NT/2000/XP Professional/XP Home/Vista/Windows 7 environment.

Introduction
Welcome. This tutorial provides new MySQL users with very basic, step by step, instructions on how to get started. MySQL runs under a broad array of operating systems. The MySQL commands discussed in this tutorial apply to all platforms. The installation instructions in particular are guaranteed to work if the following conditions are true:

You're using a Windows 2000/NT/XP Prof/XP Home machine/Vista/Windows 7. MySQL is installed on the c: drive in the mysql directory. MySQL is set to use English. The MySQL version is 5.5.16.

(The last designation of the version number, currently 16, might change) If your conditions are different, the instructions should still work, but keep an eye out for slight differences, like which working directory you'll need to be in.

This is taken from several web resources including MySQL AB site.

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 2 of 16 Fall 2012

Windows 2000/NT/XP Prof/XP Home Installation


I assume that you are installing MySQL 5.5 from scratch. If you have installed an older version of MySQL, please uninstall it and clean the registry before proceeding to the next step.

Get and Install a Recent Version


1. Download the stable release of the program using this link: http://dev.mysql.com/downloads/mysql/ and then click on Download for Windows, MSI Installer.
Version: 5.5.16 File Name: mysql-essential-5.5.16-win32.msi File Size: ~39.1 M Download Location: http://dev.mysql.com/downloads/mysql/

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 3 of 16 Fall 2012

2. Registering is optional, so just click "No thanks, just take me to the downloads!

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 4 of 16 Fall 2012

3. On the MySQL download page, select a mirror in the United States for a faster download by clicking on "HTTP" or FTP for the latest Windows (x86) version.

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 5 of 16 Fall 2012

4. Right Click on the mysql-essential-5.1.44-win32.msi file and select install.

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 6 of 16 Fall 2012

5. Click Run>

6. Click Next>

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 7 of 16 Fall 2012

7. Select "Typical", and then click Next >.

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 8 of 16 Fall 2012

8. Click Install.

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 9 of 16 Fall 2012

9. Click Next >.

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 10 of 16 Fall 2012

10.

Select Next >.

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 11 of 16 Fall 2012

11.

Select Next >.

12.

Select Finish>

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 12 of 16 Fall 2012

13.

Select Standard Configuration, and then click Next>.

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 13 of 16 Fall 2012

14. Leave "Install As Windows Service" checked. Also check "Include Bin Directory in Windows PATH", and then click Next >.

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 14 of 16 Fall 2012

15. Enter a root password. Make sure to remember this password. Click Next >.

16.

Click Execute.

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 15 of 16 Fall 2012

17.

Click Finish.

CISS 325 Database Management Systems MySQL5InstallGuide Dr. Samuel Sambasivam

Page 16 of 16 Fall 2012

18. Open a command prompt (Start Menu, Run, and type cmd) & type in the following command. mysql -u root -p Enter the password you supplied earlier. You should see something like the following:

19.

You have successfully installed the MySQL version 5.5.

Please let me know if you have any questions. Have fun!

Samuel Sambasivam, Ph.D. Professor and Chairman of Computer Science Department of Computer Science Azusa Pacific University Azusa, CA 91702

S-ar putea să vă placă și