SequelizeConnectionError: Client does not support authentication protocol requested by server; consider upgrading MariaDB client
I found the answer:
login to mysql command line and write the following commands:
use mysql;
update user set authentication_string=password(''),plugin='mysql_native_password' where user='root';
in my case I needed to type these 3 lines:
use mysql;update user set authentication_string=password('new_root_password'), plugin='mysql_native_password' where user='root';flush privileges;
In case you are using higher versions of mysql, you don't need to use password function. Instead you can write it as below
use mysql;update user set authentication_string='new_root_password', plugin='mysql_native_password' where user='root';flush privileges;