Ubutnu 20.04 - Update mysql 8 root password

Posted . Visible to the public.

from bash terminal login as root user

sudo su
mysql

From MySQL cli change password

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password_here';
flush privileges;
Tushar
Posted by Tushar to Tushar's deck (2020-09-11 15:01)