Windows 10 64-bit installation of MySQL5.6.35 graphic tutorial, mysql5.6.3564 download

Source: Internet
Author: User

Windows 10 64-bit installation of MySQL5.6.35 graphic tutorial, mysql5.6.3564 download

1. Download MySQL Community Server 5.6.35

Http://dev.mysql.com/downloads/mysql/5.6.html

 

2. decompress the MySQL package

Decompress the downloaded MySQL package to the custom directory. I put it in D: \ Program Files \ MySQL \

Add environment variables (in my opinion, you only need to add them to user variables, and do not modify system variables as much as possible)

Variable name: MYSQL_HOME

Variable value: D: \ Program Files \ MySQL

That is, the custom extract directory of mysql.

Add % MYSQL_HOME % \ bin in Path.

Register windows Services

Register mysql as a windows system service

The procedure is as follows:

1) Right-click the Start menu and choose "command prompt (Administrator )"

2) enter the service installation command:

 

mysqld install MySQL –defaults-file=”D:\Program Files\mysql-5.6.11-winx64\my-default.ini”

After the installation is successful, a message is displayed, indicating that the service is successfully installed.

If D: \ Program Files \ MySQL \ bin> mysqld install MySQL-defaults-file = "D: \ Program Files \ MySQL \ my-default.ini" appears"
The service already exists!
The current server installed: "D: \ Program Files \ MySQL \ bin \ mysqld"-defaults-file = "D: \ Program Files \ MySQL \ my-default.ini" MySQL

Indicates that the service has been registered. Remove the service.

Command: mysqld remove

5. Start the MySQL Service

Method 1:

Run the following command to start the service: net start mysql.

Method 2:

Open the management tools service and find the MySQL service.

Right-click Start or click Start on the left to start the service.

6. Modify the password of the root account

When the installation is complete, the default password of the root account is blank. You can change the password to the specified password. Example: 123456

Method 1:

c:>mysql –uroot mysql>show databases; mysql>use mysql; mysql>UPDATE user SETpassword=PASSWORD(“123456”) WHERE user='root'; mysql>FLUSH PRIVILEGES; mysql>QUIT

Method 2:

Use a third-party management tool to change the password. For example, Navicatfor MySQL

The above is a graphic tutorial on installing MySQL5.6.35 on 64-bit windows 10. I hope it will help you. If you have any questions, please leave a message and I will reply to you in time. Thank you very much for your support for the help House website!

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.