Mysql 5.7.18 installation-free window configuration method, mysql5.7.18

Source: Internet
Author: User

Mysql 5.7.18 installation-free window configuration method, mysql5.7.18

The first blog is probably about to start learning the database, and then downloading all kinds of questions by myself. Baidu is not very easy to use. After asking, there is no result, and finally it will be done, but it took a long time, so I wrote this article to help some new users.

1. Download

Go to https://dev.mysql.com/downloads/mysql/to download the corresponding version from the current system,

2. Configuration

. Decompress the downloaded compressed package at will, as long as the path does not have Chinese characters.

2. Set the configuration file. The root directory of the decompressed file usually contains a configuration file template of my_default.ini. Copy the template and change the name to my. ini. Then set the content. After the setting is complete, you must drop my. ini into the bin folder of the root directory and set it as follows.

PS: If the unzipped root directory does not contain my_default.ini (I did not download it from 2017.6.12 For A Long Time), I will download an old version, this template is usually required in the SDK)

The content in my. ini is modified in this way, and # starts with a comment. Do not worry:

. Configure the environment variables to simplify the operation, as shown below:

First, right-click the computer, click Properties, advanced system settings, and select environment variables.

A.

B.

In this way, the environment variables are configured.

2. 4. open the command prompt with the administrator privilege (right-click window10 and you will see it directly, right-click w7 and start it with the administrator privilege ).

A.

PS: after the first statement is executed, you can see in the service that the addition is successful (START key (the key on the right of the Left ctrl) + R, enter services. in msc, you can view the MYSQL column)

B.

The above is all the configurations. Of course, you can also perform the operations here. However, for convenience, you can download a graphical interface named workbench on the official website, that is, the website where the database is downloaded, is officially provided.

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

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.