Question: I have installed MySQL8.0.26 on my computer, but I found the cracked version of SQLyog software from the Internet. After installing SQLyog, I can’t connect, and the message “Client does not support authentication protocol requested by server” will pop up……;
Reason: Because the encryption rule in versions before mysql8 is mysql_native_password, and after mysql8, the encryption rule is caching_sha2_password.
Solution: restore the mysql user login password encryption rules to mysql_native_password.
- Run Shell (Administrator);
- Enter `mysql -uroot -p` and then enter the password you started;
- Then enter `ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'new password' ;` Just change the new password by yourself;
- Enter `flush privileges;` to close the command line manager;
- Open the SQLyog link again.