New version of mysql CMD login pit

Starting with MySQL 8.0.4, they changed the MySQL server's default authentication plugin from mysql_native_password to caching_sha2_password.

You can run the following command to resolve this issue.

sample username / password => student / pass123

ALTER USER 'student'@'localhost' IDENTIFIED WITH mysql_native_password BY 'pass123';
For details, see the official page: MySQL Reference Manual

Guess you like

Origin blog.csdn.net/gogocsdn1/article/details/110629988