Solution to the problem that the mysql8.0.11 client cannot log in

Solution to the problem that the mysql8.0.11 client cannot log in

This article shares with you the solution to the problem that the mysql8.0.11 client cannot log in, for your reference, the specific content is as follows

The default encryption method of MySQL 8.0.11 is [caching_sha2_password], which is not supported by Navicat for MySQL and Navicat Premium 12 clients.

You can log in to the database server using:

mysql>use mysql; 
mysql> select user, host, plugin, authentication_string from user where user='test';
+------+------+-----------------------+------------------------------------------------------------------------+
| user | host | plugin | authentication_string |
+------+------+-----------------------+------------------------------------------------------------------------+
| test | % | caching_sha2_password | $A$005$7\m5O\%K/Y3'[email protected] |
+------+------+-----------------------+------------------------------------------------------------------------+
1 row in set (0.00 sec)

The client cannot find the caching_sha2_password plugin. You can create a new user to use native encryption or modify

ALTER USER 'test'@'%' IDENTIFIED WITH mysql_native_password BY '123456a?';

Just change your login password at this time.

Wonderful topic sharing: Installation tutorials for different versions of MySQL Installation tutorials for MySQL 5.7 versions Installation tutorials for MySQL 5.6 versions

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • Introduction to using the MySQL mysqladmin client
  • How does MySQL connect to the corresponding client process?
  • Solve the problem of MySql client exiting in seconds (my.ini not found)
  • PHP Swoole asynchronous MySQL client implementation example
  • Solve the problem that the Node.js mysql client does not support the authentication protocol
  • Detailed explanation of MySQL/Java server support for emoji and problem solving
  • Getting started with NodeJS server development (Express+MySQL)
  • MySQL connection pool for App server (supports high concurrency)
  • Interpreting MySQL client and server protocols

<<:  ByteDance interview: How to use JS to implement Ajax concurrent request control

>>:  How to check the version of Kali Linux system

Recommend

Detailed explanation of the difference between $router and $route in Vue

We usually use routing in vue projects, and vue-r...

How to implement navigation function in WeChat Mini Program

1. Rendering2. Operation steps 1. Apply for Tence...

How to Set Shortcut Icons in Linux

Preface Creating shortcuts in Linux can open appl...

How to understand Vue's simple state management store mode

Table of contents Overview 1. Define store.js 2. ...

Implementation methods of common CSS3 animations

1. What is CSS Animations is a proposed module fo...

Detailed explanation of Linux index node inode

1. Introduction to inode To understand inode, we ...

Vue implements the question answering function

1. Request answer interface 2. Determine whether ...

Tomcat components illustrate the architectural evolution of a web server

1. Who is tomcat? 2. What can tomcat do? Tomcat i...

Detailed explanation of the problems and solutions caused by floating elements

1. Problem Multiple floating elements cannot expa...

The difference and choice between datetime and timestamp in MySQL

Table of contents 1 Difference 1.1 Space Occupanc...

A practical record of an accident caused by MySQL startup

Table of contents background How to determine whe...

Mini Program to Implement the Complete Shopping Cart

The mini program implements a complete shopping c...

Detailed explanation of object literals in JS

Table of contents Preface 1. Set the prototype on...

Detailed explanation of JavaScript clipboard usage

(1) Introduction: clipboard.js is a lightweight J...