Could not connect to MySQL server: Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(/usr/local/mysql/lib/plugin/caching_sha2_password.so, 2): image not found You may continue if the server is simply not running. code example
Example: MySQL said: Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(/usr/local/lib/plugin/caching_sha2_password.so, 2): image not found
ALTER USER 'username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
restert mysql
sudo mysql.server restart