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

foreman ubuntu16 quick installation

Quickstart Guide The Foreman installer is a colle...

Install Windows Server 2019 on VMware Workstation (Graphic Tutorial)

If prompted to enter a key, select [I don’t have ...

Detailed explanation of MySQL 5.7.9 shutdown syntax example

mysql-5.7.9 finally provides shutdown syntax: Pre...

What is MIME TYPE? MIME-Types type collection

What is MIME TYPE? 1. First, we need to understand...

Detailed explanation of the binlog log analysis tool for monitoring MySQL: Canal

Canal is an open source project under Alibaba, de...

11 common CSS tips and experience collection

1. How do I remove the blank space of a few pixels...

How to make form input and other text boxes read-only and non-editable in HTML

Sometimes, we want the text boxes in the form to b...

Angular environment construction and simple experience summary

Introduction to Angular Angular is an open source...

How to run tomcat source code in maven mode

Preface Recently, I was analyzing the startup pro...

WEB Chinese Font Application Guide

Using fonts on the Web is both a fundamental skill...

Detailed installation process of mysql5.7.21 under win10

This article shares the installation of MySQL 5.7...

Detailed explanation of HTML table inline format

Inline format <colgroup>...</colgroup>...