MySQL 5.7 Free installation version Access denied workaround

Source: Internet
Author: User

MySQL 5.7 The process of installing under Windows Many people have written it.

However, the password is required for the first login with root after the installation is complete.

But I don't have a password at all.

It's been a long day, and finally it's done.

A temporary password is generated when you execute the mysqld--initialize--console command ...

will appear a similar to

[Note] A temporary password is generated for [email protected]
localhost:9t*h3xllmxy<

Such a command. The following is the temporary password that MySQL generated for the initial login ...

Of course, this is only the temporary password that I generated when I installed it, but also to see the temporary password generated by my installation.

Then use this password to enter it, you need to change the password after entering:

SET PASSWORD = PASSWORD (' your_pwd ');

MySQL 5.7 Free installation version Access denied workaround

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.