Install MySQL-5.7.19 under Windows

Source: Internet
Author: User

Download the MySQL-5.7.19 version, unzip it and discover that the installation package is not an EXE file:

So the online search for information, found another way to install.

1. Create a new environment variable, my Computer-Properties-advanced-environment variables-System variables-NEW

2. Add the newly created system variable at the end of the path of the system variable. (Put;%mysql_home%\bin into the last side of Path)

3. Run command line as Administrator, press Win+r to enter CMD, right-click to run as Administrator 4. Command line execution:%mysql_home%\bin\mysqld--initialize--user=mysql-- Console5. Registration Service: Mysqld--install MySQL6. Start the service with the net start MySQL command

7. Log in mysql:mysql-u root-p using the command line

Enter the random password you obtained when performing step 4th

When the login is successful, the message will appear:

The password must be reset for the first logon:

Reset Password: mysql>set password for [email protected] = password (' 123456 ');

Shutdown service: net stop MySQL

Reference Links:

Installing Mysql-5.7.18-winx64.zip under Windows 7

Install MySQL-5.7.19 under Windows

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.