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

Docker installation and configuration steps for RabbitMQ

Table of contents Single-machine deployment Onlin...

Vue state management: using Pinia instead of Vuex

Table of contents 1. What is Pinia? 2. Pinia is e...

JavaScript implements simple calculator function

This article example shares the specific code of ...

In-depth understanding of the creation and implementation of servlets in tomcat

1. What is a servlet 1.1. Explain in official wor...

Mini Program Recording Function Implementation

Preface In the process of developing a mini progr...

Example of how to change the domestic source in Ubuntu 18.04

Ubuntu's own source is from China, so the dow...

MySQL gets the current date and time function

Get the current date + time (date + time) functio...

Navicat remote connection to MySQL implementation steps analysis

Preface I believe that everyone has been developi...

How to add sudo permissions to a user in Linux environment

sudo configuration file The default configuration...

Appreciation of the low-key and elegant web design in black, white and gray

Among classic color combinations, probably no one...

uniapp realizes the recording upload function

Table of contents uni-app Introduction HTML part ...

It's the end of the year, is your MySQL password safe?

Preface: It’s the end of the year, isn’t it time ...

MySQL 8.0.16 installation and configuration tutorial under Windows 10

This article shares with you the graphic tutorial...