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.