Installing Mysql-5.7.18-winx64.zip under Windows 7

Source: Internet
Author: User

mysql-5.7 after the compression package installation has a small change

The first step: Download https://dev.mysql.com/downloads/mysql/on the website

Step Two: Extract to a folder

Step Three: Configure environment variables

To insert a%mysql_home%\bin into the last face of a path.

Fourth step: Run the command line as an administrator, press Win+r to enter CMD, click the right mouse button to run as Administrator

Fifth step: Go to D:\mysql-5.7.18-winx64\bin

Initialize data: mysqld--initialize-insecure--user=mysql

Starting service: Mysqld--user=mysql

Initializing the MySQL root password
mysqladmin-u root password ' new-password '

See https://dev.mysql.com/doc/refman/5.7/en/data-directory-initialization-mysqld.html for details.

Or start with the fifth step%mysql_home%\bin\mysqld--initialize--user=mysql--console

Sixth Step Registration Service Mysqld--install MySQL

Start the service with the net start MySQL command

Mysql-uroot-p

Enter the random password you obtained when performing step fifth

Display the above information is successful

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

Shutdown service: net stop MySQL

Installing Mysql-5.7.18-winx64.zip under Windows 7

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.