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
I've seen people asking before, how to add sty...
What is HTML? HTML is a language used to describe...
In the horizontal direction, you can set the cell...
A record of an online MySQL transaction problem L...
This article example shares the specific code of ...
I heard that there is an interview question: How ...
Password Mode PDO::__construct(): The server requ...
Preface This article mainly introduces the releva...
The img tag in XHTML should be written like this:...
Will mysql's IN invalidate the index? Won'...
Table of contents 1. Front-end control 1. In the ...
1. Conclusion Syntax: limit offset, rows Conclusi...
Prerequisite: Mac, zsh installed, mysql downloade...
Table of contents Component Communication Introdu...
(When a web page is loading, sometimes there is t...