Windows7 64-bit installation MySQL 5.7.11 zip compression version

Source: Internet
Author: User

Now, the MySQL website only offers zip packages,

1th: Unzip to any folder of your own

Note: Although I did not try, but try not to have Chinese in the path

2nd: Add Environment variables

D:\web\mysql-5.7.11-winx64\bin

Add this path to the environment variable

3rd: Configure My-default.ini

After decompression, the folder has this file, open the configuration

, note datadir, although there is no data folder under the directory, but also do not create, to create their own, it will not start MySQL

Fourth step: Run cmd as Administrator Fifth step: CD to D:\web\mysql-5.7.11-winx64\bin directory below

Then execute:

Mysqld--initialize-insecure--user=mysql

Use-initialize to generate a random password, as you learn, use-initialize-insecure to generate a blank password. Default account Root

Sixth step: Execute Mysqld-install Seventh step: Start the net start MySQL, then can use the root login to use the Mysql-u root-p login, do not enter the password, the direct carriage return is possible. Eighth step: Execute mysqld--initialize

Windows7 64-bit installation MySQL 5.7.11 zip compression version

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.