MySQL 64-bit Windows 7 installation tutorial, mysql5.7windows7

Source: Internet
Author: User

MySQL 64-bit Windows 7 installation tutorial, mysql5.7windows7

1. Install mysql5.7 in Windows. 2. Possible solutions for mysql5.7 forgetting the root password

Go to the MySQL official website or other websites to DOWNLOAD the MySQL installation package, and select the Windows 64-bit installation package on the official website DOWNLOAD. Generally, the compressed installation package is used.

After the download is complete, decompress the installation package to the installation path, for example, D: \ Program Files \ mysql. You can also select another path to decompress the package;

After decompression, enter the decompressed folder, create a blank txt text, enter the basedir installation path and datadir file path, and name it my. init (note that the txt format suffix must also be changed) and save

After completing step 3, Enter cmd in system-run (run with management permission) and convert the path to the MySQL installation path.

Enter the installation path, enter the command mysqld-install, and display service successfully installed.

After installation, enter net start mysql to start the service. If it is displayed that the service cannot be started, restart the computer and try again.

To start MySQL at startup, add the mysql installation PATH to the system environment variable PATH.

 

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.