Mysql 5.7.9 windows x64 Installation Problems, 5.7.9winx64

Source: Internet
Author: User
Tags windows x64

Mysql 5.7.9 windows x64 Installation Problems, 5.7.9winx64

When installing MySQL 5.7.9 or later on windwos, you may encounter a problem that cannot be started, but no error is reported. This is because 5.7.9 or later versions lack the data directory in the MySQL directory:

Some table files are stored in the Data directory to describe data and structure. The Data directory cannot be self-built and must be produced automatically, but can be copied from the normal version.

In fact, the modification is very simple. Just run one command: # mysql -- initialize

And then start again.

After MySQL is installed, normally there is no password (unless you add it yourself). Run the command # mysql-uroot-p, and press enter without entering the password, however, when I use 5.7.11, the password will be input, and you do not know what the password is. The solution is very simple. There is a my-default file in the MySQL directory, add skip-grant-tables under [mysqld] in this file, and restart MySQL. Then, there is no pressure to enter MySQL.

The above is a small Editor to introduce you to mysql 5.7.9 winx64 Installation Problems on windows, I hope to help you, if you have any questions, please leave a message, the editor will reply to you in a timely manner. 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.