[MySQL] 2059 - Authentication plugin ‘caching_sha2_password‘ cannot be loaded dlope

Insert picture description here

1 Overview

The newly installed mysql cannot log in locally.
Insert picture description here
Solution

Change the password after logging in at the console

mysql> alter user 'root'@'localhost' identified with mysql_native_password by '12345678';
Query OK, 0 rows affected (0.01 sec)

Guess you like

Origin blog.csdn.net/qq_21383435/article/details/115269167