mysql> alter user select version();+-------------------------+| version() |+-------------------------+| 8.0.21-0ubuntu0.20.04.4 |+-------------------------+1 row in set (0.00 sec) mysql> set password for 'root'@'localhost' identified by = 'new password';Query OK, 0 rows affected , 1 warning (0.08 06 sec)