Mysql 5.7.10 Decompression Installation Summary

Source: Internet
Author: User
Tags mysql in mysql version

  1. Unzip the Mysql-5.7.10-winx64.zip and copy the folder to the C:\Program files\ path (you can also place it anywhere else);

  2. Configure the environment variable, select Path, and add the following: The path to your MySQL bin folder (e.g. C:\Program files\mysql-5.7.10-winx64 \ Bin);

  3. Modify the MySQL configuration file C:\Program Files\mysql-5.7.10-winx64\my-default.ini, and modify the following location:

    650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7A/8E/wKiom1asahrQvOR3AAC8AL6mKCA191.png "title=" QQ picture 20160130154442.png "alt=" Wkiom1asahrqvor3aac8al6mkca191.png "/>

  4. Run cmd as administrator (be sure to run as administrator, or not enough), and run mysqld--initialize-insercure to generate the root user without password in the bin folder of MySQL, at C:\Program files\ Mysql-5.7.10-winx64 will generate the data directory, such as the other MySQL version of the path already exists in the data directory, you do not need to execute this name to generate data, and then run Mysqld-install, prompting "Service Successfully installed. " ;

  5. After the installation is successful, start the service and continue to enter the net start MySQL in cmd;

  6. After the service starts successfully, it can login, enter Mysql-u root-p return, do not need password;

  7. Run set PASSWORD for ' root ' @ ' localhost ' = PASSWORD (' 123456 '), and change the root password to "123456".

This article from "Today's efforts, tomorrow's success!" "Blog, be sure to keep this provenance http://zhzhgo.blog.51cto.com/10497096/1740041

Mysql 5.7.10 Decompression Installation Summary

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.