Windows install MySQL

Source: Internet
Author: User
Tags mysql command line

1) Double-click the MySQL installation file Mysql-essential-5.0.82-win32.msi. Go to the Welcome page.

Click Nextbutton. Go to the Installation Type page.

2) The first item on the installation Type page is a typical installation, and the second item is all installed. The paths for these two installations cannot be changed. The default is:C:\Program files\mysql\mysql Server 5.0\(theC Drive is the system disk). The third custom allows the user to define the selection of installation components and installation paths. Select the second item here. The installation Type page is set to 1 as seen.

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvd2fuz2ppyxdlaxdlaq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma== /dissolve/70/gravity/center ">

Figure 1 Setup Type page


3) Click Nextbutton to go to the ready to install screen, display the installation type (type), path and other information that the user selected in the Ready to install page. Assuming that the previous options are incorrect, you can click theback button to return to the previous page and select again. Assumptions are correct. Click the installbutton to start the installation file.

2 what you see.


Figure 2 Custom Setup page


4) file installation. 3. what you see.

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvd2fuz2ppyxdlaxdlaq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma== /dissolve/70/gravity/center ">

Figure 3 installation program


5) After the installation of the file, there will be some information about MySQL 's function and version number. 4 of what you see.


Figure 4 MySQL feature release number introduction

6) After clicking finish . When you click on the nextbutton, the MySQLServer Configuration page will be entered. 5 of what you see.


watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvd2fuz2ppyxdlaxdlaq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma== /dissolve/70/gravity/center ">

Figure 5 MySQLserver Configuration page


7) This page has two options: specific configuration (default) and standard configuration. This selects the default item. 5 of what you see.

Click Nextbutton to go to the Server execution Mode page, 6 see.

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvd2fuz2ppyxdlaxdlaq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma== /dissolve/70/gravity/center ">

Figure 6 Server execution mode



8) There are 3 options in the Server execution Mode page . Here you can select the first default item (i.e. development mode,MySQLServer occupies the smallest memory space.

Fully sufficient as a local test use).

When you are finished, click Nextbutton to enter the Select database Type page.


9) This page has two types of database options. The first is a data system that supports multiple types of libraries such as MyISAM,InnoDB , and the second is to support only one type library. Here you select the default first item:Multifunctional Database, which supports multiple types of libraries. Set 7 to see.

Click Nextbutton to enter the next page.


Figure 7 Selecting a database type


This page selects the path for the InnoDB data file, where you select the MySQL datafiles folder under C disk . When selecting a partition, be aware of the remaining space size of the selected partition.

Select what you see on page 8 . Click Nextbutton to proceed to the next page.


Figure 8 Setting the path for the InnoDB data File



Click Nextbutton to complete the installation. Check the "Configure the MySQL server now" checkbox in the Installation Complete screen to start configuring MySQLserver, 9 what you see.


Figure 9 Configuration MySQL Server


This page is the port setting for MySQLServer, and the default 3306 is available.

Click Nextbutton to go to the next page after selecting done. to see.



Figure Ten setting the server's port


This page is the default character set for MySQL selection. Choose the GB2312 encoding Type here. Click Nextbutton to enter the next page.

One what you see.


Figure one set encoding type


This page is to choose whether MySQLserver is self-executing. Suppose you want to add the MySQL execution path to the Windows environment variable path . Then you need to tick the "Include Bin Directory in Windows PATH" option. Page settings see.

Click Nextbutton to go to the Permissions Settings page.


Figure Select how MySQLServer starts


in this page you can set the user login password (this instance is username root, password123, so it is recommended that users do the same settings, To facilitate the execution of this example). There is a line of text below the setting password. is to ask if you want to allow root login to the database. The last option. Suppose selected. Create an account that agrees that no one can access the database. This is not a recommended selection. Page settings to see.

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvd2fuz2ppyxdlaxdlaq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma== /dissolve/70/gravity/center ">


Figure the account Configuration page


Click Nextbutton. Be able to see the ready to run page. Assuming there is no problem with the configuration, click Executebutton to start running the operation, as seen in the Run Success page.


Chart run success


after the installation is complete, click Finishbutton to complete The installation of MySQL server.

(5) Start MySQL Database

1) After installation , MySQL is ready to use. Make time available by starting in the Start menu.

Select "All Programs"/"mysql"/"mysql Server 5.0"/ "MySQL command line Client" menu command, as seen in.


Figure Start MySQL Database

2) You can start the MySQL command line client. The same time pop-up "enter Password:" Word, prompting the user to enter the login Password, enter Password "123" here. Press ENTER to pop up The information you see.


watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvd2fuz2ppyxdlaxdlaq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma== /dissolve/70/gravity/center ">

figure in MySQL command line client



Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

Windows install MySQL

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.