mistake The following error occurs when connecting to MySQL using Navicat Premium: reason The encryption rule in versions before mysql8 is mysql_native_password, and after mysql8, the encryption rule is caching_sha2_password solve To change encryption rules: mysql -uroot -ppassword #Login use mysql; #Select database # For remote connection, please replace 'localhost' with '%' ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; #Change encryption methodALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; #Update user passwordFLUSH PRIVILEGES; #Refresh permissions Enter password This is the end of this article about Navicat connecting to MySQL8.0.11 with error 2059. For more information about Navicat connecting to MySQL, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: How to deploy zabbix_agent in docker
>>: Two methods of implementing automatic paging in Vue page printing
Virtualization and containerization are two inevi...
Table of contents Overview Code Implementation Su...
Table of contents 1. Component Communication 1. P...
Table of contents 1. Problem scenario 2. Cause An...
What you learn from books is always shallow, and ...
Table of contents Process Communication Bidirecti...
Lists for organizing data After learning so many ...
First execute the command: [root@mini61 setuptool...
The syntax for an outer join is as follows: SELEC...
During the development process, if garbled charac...
MySQL download address: https://obs.cn-north-4.my...
Table of contents verify: Combined with the examp...
Encapsulate el-dialog as a component When we use ...
Table of contents Inheritance and prototype chain...
Preface We may have heard of the concept of rowid...