MySQL 5.7.9 winx64 Install problems on Windows _mysql

Source: Internet
Author: User

mysql5.7.9 version above on the WINDWOS installation will encounter the problem is not started but there is no error, because the version of 5.7.9 above in the MySQL directory will be missing the data directory:

The data directory is stored in a number of table files, used to describe information, structure, and so on, the directory can not be built, must be automated production, but can be copied from the normal version

In fact, the modification is very simple, as long as a command can be: #mysql--initialize

And then it started again, and it worked.

MySQL installed, the normal situation is no password (unless you add), direct command into the #mysql-uroot-p, do not enter the password direct return to the line, But I use 5.7.11 version, will let the input password, and you do not know what the password is, the solution is very simple, in the MySQL directory has a my-default file, in this file [mysqld] Add a sentence skip-grant-tables, Then restart the MySQL OK, then there is no pressure into MySQL.

The above is a small set to introduce the MySQL 5.7.9 winx64 on the installation of Windows encountered problems, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!

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.