Mysql login error

when you install the latest version of mysql, on Ali CVM, you can log in from the command line, but when you log in with navicat for mysql, you will be prompted
client does not support authentication protocol requested by server;consider upgrading MySql client

.

look for tutorials online and say that because the new mysql server version uses the new password authentication mechanism, the password needs to be changed
set password for "root"@"localhost"=old_password (" 123");

but when I change the password on the command line, I prompt for a syntax error:

clipboard.png

Please tell me where the mistake is, thank you very much

Mar.04,2021

mysql 8.0? Take a look at this
https://codeshelper.com/n/13.


or you can take a look at the http://www.voidcn.com/article.

mentioned here.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-499f484-1c0c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-499f484-1c0c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?