Win7 the method of installing MySQL

Source: Internet
Author: User

Under Win7 by decompression installation MySQL 5.7 has been the start of the unsuccessful, the online search for a long time finally found a solution, record:

1. Unzip the downloaded compressed package

2, in the decompression directory, the My-default.ini renamed to My.ini, and put My.ini into the bin directory

3, execute the command: mysqld--initialize--user=mysql--console, execute this command will generate a temporary password, log down, login need to enter this password.

4. Execute command: mysqld install, installing MySQL service

5. Execute command: net start MySQL, start MySQL service

6, execute the command: mysql-uroot-p, enter the temporary password just generated login MySQL

7, after logging in, by executing the command set password = password ('mysql'), changing the password, the string in single quotation marks is the password

Reference Address: http://www.oschina.net/question/1244397_2138435

Win7 the method of installing MySQL

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.