当前位置:网站首页>Error connecting to MySQL database: 2059 - authentication plugin 'caching_ sha2_ The solution of 'password'
Error connecting to MySQL database: 2059 - authentication plugin 'caching_ sha2_ The solution of 'password'
2022-07-06 11:09:00 【As。】
Cause analysis : The reason for the error :MySQL The new version (8 Above version ) The encryption method of user login account is 【caching_sha2_password】,Navicat This user login account encryption method is not supported .
1. First we need to open MySQL Command line client , As shown in the figure , Click on 【MySQL 8.0 command line client】
2. Enter your own installation MySQL The password set when , Log in to the client , As shown in the figure , Indicates successful login
3. Check the encryption method first , command :show variables like ‘default_authentication_plugin’;
4. View local mysql User information , command :select host,user,plugin from mysql.user;
5. because Navicat I won't support it MySQL The new version of this user login account encryption , So next we need to modify root The encryption method of the account is 【mysql_native_password】; command :ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘123456’; ( Be careful : Pay attention to the last root You set it up root Password of the account , What I set up is “123456“)
6. Finally reopen Navicat Connect MySQL You can succeed
边栏推荐
- Some problems in the development of unity3d upgraded 2020 VR
- Csdn-nlp: difficulty level classification of blog posts based on skill tree and weak supervised learning (I)
- frp内网穿透那些事
- MySQL completely uninstalled (windows, MAC, Linux)
- Ansible practical Series II_ Getting started with Playbook
- Did you forget to register or load this tag 报错解决方法
- Are you monitored by the company for sending resumes and logging in to job search websites? Deeply convinced that the product of "behavior awareness system ba" has not been retrieved on the official w
- Use dapr to shorten software development cycle and improve production efficiency
- Redis的基础使用
- QT creator shape
猜你喜欢
neo4j安装教程
【博主推荐】C#MVC列表实现增删改查导入导出曲线功能(附源码)
CSDN question and answer module Title Recommendation task (I) -- Construction of basic framework
Copie maître - esclave MySQL, séparation lecture - écriture
【博主推荐】C#生成好看的二维码(附源码)
MySQL18-MySQL8其它新特性
Dotnet replaces asp Net core's underlying communication is the IPC Library of named pipes
Idea import / export settings file
QT creator specifies dependencies
[C language foundation] 04 judgment and circulation
随机推荐
Introduction to the easy copy module
Ansible practical Series II_ Getting started with Playbook
Installation and use of MySQL under MySQL 19 Linux
Kubesphere - deploy the actual combat with the deployment file (3)
QT creator create button
A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon
01项目需求分析 (点餐系统)
csdn-Markdown编辑器
Remember a company interview question: merge ordered arrays
[download app for free]ineukernel OCR image data recognition and acquisition principle and product application
Have you mastered the correct posture of golden three silver four job hopping?
Deoldify项目问题——OMP:Error#15:Initializing libiomp5md.dll,but found libiomp5md.dll already initialized.
QT creator design user interface
【博主推荐】C#生成好看的二维码(附源码)
Install mysql5.5 and mysql8.0 under windows at the same time
图片上色项目 —— Deoldify
导入 SQL 时出现 Invalid default value for ‘create_time‘ 报错解决方法
Windows下安装MongDB教程、Redis教程
记一次某公司面试题:合并有序数组
Postman Interface Association