You are having issue with newly MySQL version that came with "caching_sha2_password" plugin, follow the below command to get it resolved.
DROP USER 'your_user_name'@'%';
CREATE USER 'your_user_name'@'%' IDENTIFIED WITH mysql_native_password BY 'your_user_password';
GRANT ALL PRIVILEGES ON your_db_name.* TO 'your_user_name'@'%' identified by 'your_user_password';
Or you can just use the below command to keep your privileges as it is:
ALTER USER your_user_name IDENTIFIED WITH mysql_native_password;