Check out example codes for "Unable to load authentication plugin 'caching_sha2_password'. dbeaver". It will help you in understanding the concepts better.

Code Example 1

ALTER USER 'student'@'localhost' IDENTIFIED WITH mysql_native_password BY 'pass123';

Learn ReactJs, React Native from akashmittal.com