ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded

ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded

When I try to connect to a MySQL 8 server, I get the following error This is because of MySQL

You must reset your password using ALTER USER

You must reset your password using ALTER USER

On MySQL 8, when you start MySQL, it generate a temporary root password, that you can find with command When