当前位置:网站首页>Troubleshooting various errors when Navicat for MySQL connects to MySQL database
Troubleshooting various errors when Navicat for MySQL connects to MySQL database
2022-06-22 08:52:00 【BreezAm】
One 、2058 error
Enter... Through the command line MySQL, Execute the following command :
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root'
Screenshot :

Two 、1251 error
Enter... Through the command line MySQL, Execute the following command :
ALTER USER 'root'@'localhost' IDENTIFIED BY 'root' PASSWORD EXPIRE NEVER;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
FLUSH PRIVILEGES; # Refresh the permissions
Screenshot :
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'root' PASSWORD EXPIRE NEVER;
Query OK, 0 rows affected (0.05 sec)
mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
Query OK, 0 rows affected (0.01 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)
mysql>
边栏推荐
- luogu P5406 [THUPC2019]找树
- Matrix decomposition
- 关于EasyPoi导入Excel文件二级表头数据时@ExcelEntity实体类里的第一列数据为null的这档事
- How to troubleshoot OOM
- 14 职责链模式
- Solidity from introduction to practice (II)
- Some mathematical operation functions in LabVIEW
- Nouvelle éclosion de Coronavirus
- What is defi and what mode is defi?
- Remove the restriction of video memory occupied by tensorflow GPU
猜你喜欢

Flask blog practice - realize the classified management of blogs

Flask博客实战 - 实现博客的分类管理

Matplotlib | temperature change visualization

Off line identification of least square method

Hashtable source code analysis, collections Synchronizedmap parsing

深入理解MySQL索引凭什么能让查询效率提高这么多?

Report: in the technical field, men are more likely to get job interviews

Solidity from introduction to practice (III)

10.File/IO流-bite

Carry out effective maker education courses and activities
随机推荐
pytorch OSError: DLL load failed: 问题解决方法
20 status mode
关于EasyPoi导入Excel文件二级表头数据时@ExcelEntity实体类里的第一列数据为null的这档事
Xshell远程服务器tensorboard/visdom的本地可视化方法【亲测一步有效】
Crawling microblog comments | emotional analysis of comment information | word cloud of comment information
np.arange与np.linspace细微区别(数据溢出问题)
17 iterator mode
兔小巢使用记录
How to write high performance SQL statements?
版本问题导致“无法定位程序输入点OPENSSL_sk_new_reserve于动态链接库C:\Users...\libssl-1_1-x64.dll”
15 command mode
How to troubleshoot OOM
The dream of "getting rich overnight" is broken. Beware of virtual currency investment scams!!!
CF1267G Game Relics
Web knowledge 4 (filter+listener)
Basic knowledge and practical application of redis
A simple - timed task component (quartz) -demo
【详解】神经网络矩阵的点乘与叉乘(pytorch版)
Preview function implementation of Android kotlin Camera2
Web Knowledge 1 (server +servlet)