When i try to use :
sudo mysql -u root
use mysql;
SELECT user, plugin FROM user;
UPDATE user SET plugin = "mysql_native_password" WHERE user = "root" ;
exit
service mysql restart`
it seems an error-->
ERROR 1356 (HY000): View 'mysql.user' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
Update and Alter is not working
question from:https://stackoverflow.com/questions/65895518/how-can-i-reset-mysql-root-password-on-linux-manjaro