Navicat connects to MySQL8.0.11 and an error 2059 occurs

Navicat connects to MySQL8.0.11 and an error 2059 occurs

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:
  • Navicat connection MySQL error description analysis
  • Solve the problem of Navicat for MySQL reporting 2005 error when connecting to MySQL
  • Common errors and solutions for connecting Navicat to virtual machine MySQL
  • When Navicat connects to MySQL, it reports 10060, 1045 errors and the location of my.ini
  • Solve the 1251 error when establishing a connection between mysql and navicat
  • Solve the 3680 error when creating a new database in Navicat on Mac

<<:  How to deploy zabbix_agent in docker

>>:  Two methods of implementing automatic paging in Vue page printing

Recommend

Radio buttons and multiple-choice buttons are styled using images

I've seen people asking before, how to add sty...

Introduction to HTML_PowerNode Java Academy

What is HTML? HTML is a language used to describe...

HTML table tag tutorial (32): cell horizontal alignment attribute ALIGN

In the horizontal direction, you can set the cell...

Troubleshooting the reasons why MySQL deleted records do not take effect

A record of an online MySQL transaction problem L...

js implements form validation function

This article example shares the specific code of ...

How to quickly insert 10 million records into MySQL

I heard that there is an interview question: How ...

Things to note when migrating MySQL to 8.0 (summary)

Password Mode PDO::__construct(): The server requ...

Things to note when writing self-closing XHTML tags

The img tag in XHTML should be written like this:...

Will mysql's in invalidate the index?

Will mysql's IN invalidate the index? Won'...

Vue implements dynamic routing details

Table of contents 1. Front-end control 1. In the ...

MySQL limit performance analysis and optimization

1. Conclusion Syntax: limit offset, rows Conclusi...

Detailed process of installing and configuring MySQL and Navicat prenium

Prerequisite: Mac, zsh installed, mysql downloade...

Detailed explanation of React component communication

Table of contents Component Communication Introdu...

Detailed explanation of web page loading progress bar (recommended)

(When a web page is loading, sometimes there is t...