当前位置:网站首页>1251- client does not support authentication protocol MySQL error resolution
1251- client does not support authentication protocol MySQL error resolution
2022-06-25 13:15:00 【Wanghuiju】
1: Problem description
stay navicat I found this problem when I logged in .
mysql Version is 8.0.

2: resolvent
1. Open the command line small black screen , Get into MySQL Of bin Catalog , Then input mysql -u root -p, Log in
2. Then input ALTER USER ' Your account '@'localhost' IDENTIFIED WITH mysql_native_password BY ' Your password '; # Update your user's password
3: FLUSH PRIVILEGES; # Refresh the permissions

return navicat Sign in , Find success

3: reason
The Internet says the reason for this is :mysql8 In previous versions, the encryption rule was mysql_native_password, And in the mysql8 after , The encryption rule is caching_sha2_password,
But after modifying the encryption rules , Although it can make you login successfully . But it may cause problems with the passwords of other accounts . I haven't met .
The safest way , take navicat Upgrade to the latest version . It can also solve this problem .
边栏推荐
- Resolved: could not find artifact XXX
- Update PIP & Download jupyter Lab
- Wechat full-text search technology optimization
- 數據在內存中的存儲相關內容
- The editor is used every day. What is the working principle of language service protocol?
- JVM参数解释
- Capabilities required by architects
- J2EE从入门到入土01.MySQL安装
- RESTful和RPC
- Detailed explanation of string operation functions and memory functions
猜你喜欢

康威定律,作为架构师还不会灵活运用?

三行代码简单修改jar包的项目代码

A half search method for sequential tables

Geospatial search - > R tree index

美创入选“2022 CCIA中国网络安全竞争力50强”榜单

An article clearly explains MySQL's clustering / Federation / coverage index, back to table, and index push down

Django framework - caching, signaling, cross site request forgery, cross domain issues, cookie session token

3+1 guarantee: how is the stability of the highly available system refined?

Maui's learning path (II) -- setting

Django框架——缓存、信号、跨站请求伪造、 跨域问题、cookie-session-token
随机推荐
Always maintain epidemic prevention and control and create a safe and stable social environment
Common colors for drawing
Introduction to mongodb chapter 01 introduction to mongodb
模块五(微博评论)
. NET in China - What's New in . NET
《MongoDB入门教程》第01篇 MongoDB简介
Wechat full-text search technology optimization
Maui's learning path (II) -- setting
时间过滤器(el-table)中使用
Qt鼠标跟踪
J2EE from entry to earth 01 MySQL installation
[machine learning] what is machine learning?
À propos du stockage des données en mémoire
Assemble relevant knowledge points of flag bit (connected)
爱可可AI前沿推介(6.25)
關於數據在內存中的存儲下
Reload cuda/cudnn/pytorch
5 kinds of viewer for browser
About data storage in memory
[data visualization] 360 ° teaching you how to comprehensively learn visualization - Part 1