Install mysql-5.7.11-win32 in Windows 7

Source: Internet
Author: User

Install mysql-5.7.11-win32 in Windows 7

It took me two days to install the mysql-5.7 version because version 5.7 has added many new features than the previous version. I will sort out possible problems during the installation process and share them with you.

1. Download mysql-5.7.11-win32.

(1) MySQL installation files are divided into two types: the first msi format. Click Install in msi format, and click next step by step. The second is zip format. The zip format is self-decompressed. After decompression, MySQL can be used, but configuration is required. After decompression, place the folder in the appropriate location. We recommend that you put it in the root path of the disk for convenient operations (note that the path should not contain Chinese characters ).

(2) MySQL is divided into MySQL Community Server (Community Edition) and MySQL Enterprise Edition (commercial Edition) based on the charging or not ).

We use the Community version in zip Format: mysql-5.7.11-win32.zip.

(3) download Web site: http://www.mysql.com/downloads/mysql/, according to your computer system type, select the corresponding version. Download the compressed package mysql-5.7.11-win32.zip

2. Install mysql

(1)decompress mysql-5.7.11-win32.zip and put it in the appropriate location. on my computer, I put it to the root path of drive D. Copy the my-default.int and rename it my. ini, as shown in.

(2) enter the following content in my. ini.

3. Configure mysql

(1) configure the mysql path to the environment variable.

(2) enter the bin directory under the mysql installation directory, as shown in:

(3) mysqld -- initialize -- user = mysql -- console during initialization;
Create a new mysql database and let the system generate a temporary password, which will be displayed on the console;
Then install mysqld -- install;

(4) start the service

(5) connect to the database. The password is the temporary password generated in step 2.

(6) enter the password, and then display:

(7) data is successfully started.

At this point, we can create a database to complete the corresponding operations. I hope to help you.

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.