Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of mysql 8.0 error The server requested authentication method unknown to the client

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article is about how to solve the problem of mysql 8.0 error The server requested authentication method unknown to the client. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

After mysql has installed the latest version 8.0.11, the authorized user is prompted to connect to the database after the user is created and authorized.

The server requested authentication method unknown to the client

After consulting some relevant information, it is found that it is caused by the inconsistency of the password unlocking mechanism of the new version of mysql account.

Solution:

Delete created users and authorizations

Locate the mysql configuration file and join

Default_authentication_plugin=mysql_native_password

Change to the original authentication method, and then re-create the user and authorize it.

Or

Mysql-uroot-puse mysql;ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY'; thank you for reading! This is the end of this article on "how to solve the problem of mysql 8.0 error The server requested authentication method unknown to the client". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report