Mysql cannot connect to Navicat Premium 12

mysql can be opened with cmd and can use its own client.

Mar.05,2021

mysql 8.0 uses the caching_sha2_password authentication mechanism by default-- changing from mysql_native_password to caching_sha2_password.
upgrading version 8.0 from 5.7will not change the authentication method of existing users, but new users will use the new caching_sha2_password by default.

the client does not support the new encryption.

One of the

methods to change the user's password and encryption method

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY' root';


New features of mysql8.* caching_sha2_password password encryption
previous versions of mysql password encryption uses mysql_native_password
the newly added user password defaults to caching_sha2_password
if you upgrade from the previous mysql, the user must use the password encryption using mysql_native_password
if you use the previous password encryption, modify the file / etc/my.cnf

[mysqld]
default_authentication_plugin=mysql_native_password
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-1eaa20b-1fb4.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-1eaa20b-1fb4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?