MySQL installation and basic use under Windows

Source: Internet
Author: User

First, the installation method

1.msi

2.zip

Here we use the MSI bar, just practice words, a lot simpler

Second, MSI installation

1. Click on the installation file and click Next on the Installation Wizard that appears.

    

2. Agree to the MySQL User License agreement, then next

  

3. Select the installation type

(1) Typical Typical installation: server and client that will install MySQL

(2) Custom Customized installation: Select the installation components according to user needs

(3) Complete Full installation: Will install all the components of the entire MySQL

So here we choose a typical installation to use on it.

  

4. Then click Install

  

5. Installation process: File copy

  

6. When the previous step is completed, an ad will appear, directly next

  

7. Continue the ad and click Next

  

8. The installation is complete, and asked whether to configure the operation, here temporarily uncheck the configuration operation, the direct point installation is complete.

  

Third, the configuration of MySQL

1. Locate the Configuration Wizard file (the same check box is checked in the last step of the second)

  

  

2. Run the Configuration Wizard file, the Welcome screen appears, direct next

  

3. Select the Configuration type: Select Standard configuration (beginner fit)

  

4.mysql and Windows Services, environment variable settings, usually ticked on and next

  

5. Set the root user's password and then direct next

  

6. After the configuration is complete, execute executes

  

7. Configuration Complete

(1) Prepare configuration: Preparing profiles and information

(2) Write config file: Write the configuration files, followed by the path of the configuration file is generally the My.ini file under SQL Server

(3) Start service: Open SQL Server service

(4) Apply security settings: Apply secure settings (that is, the configuration that just set the root password)

  

Iv. verifying configuration and modifying configuration files

1. Verification Services

  

2. Environment variables

  

With this, we can guarantee that all executables under the bin subdirectory can be called under any directory.

3. Understand the directory structure under the installation directory to configure

  

4.my.ini Configuration file Modification

(1) Encoding method

    

(2) My.ini file internal parsing and configuration

    

    

V. Basic use of MySQL

1. Start and stop the MySQL service

(1) Enter the service interface switch under Windows

    

(2) command line implementation switch MySQL service

"1" cmd into command line mode

"2" direct net start/stop mysql switch mysql service

  

MySQL installation and basic use under Windows

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.