Installing MySQL 5.7.7 under Windows

Source: Internet
Author: User

First uninstall the existing MySQL program

1. Stop MySQL Service


2. Uninstall MySQL program


3. Remove the installation directory


4 Delete Data Directory


5 Delete information about MySQL in the registry

Using Find MySQL, the found data is selectively deleted, some may not be MySQL programs. I uninstalled MySQL 2 times and did not find MySQL-related information in the registry.



installing MySQL 5.7.7

1, unzip the zip package, and copy My-default.ini, renamed to My.ini


2, the contents of the configuration My.ini are as follows:


3. Add the MySQL directory to the environment variable path


4, registered MySQL for win system services, and start the service


5. Log in to MySQL using root, the initial login root has no password


6, change the root password for 1234 ( important, win and Linux change the password is not the same )

Update Mysql.user set Authentication_string=password (' 1234 ') where user= ' root ' and Host = ' localhost ';


7. Use the root user login password to set the remote connection to open

GRANT all privileges on * * to ' root ' @ '% ' identified by ' 1234 ' with GRANT OPTION;
 

Log in to local MySQL using Navicat




Installing MySQL 5.7.7 under Windows

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.