When I try to change the root pw in mysql with ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'myPassword';
, I got the error message:
Storage engine 'MyISAM' does not support system tables.
So I used
alter table mysql.db ENGINE=InnoDB;
and
alter table mysql.columns_priv ENGINE=InnoDB;
as mentioned Here
Now I get the error
Cannot load from mysql.db. The table is probably corrupted
And repair table mysql.db
can't fix it, cause the storage engine for the table doesn't support repair.