Reset mysql 8 password on Ubuntu 20
1.
$ sudo systemctl stop mysql
$ sudo mkdir /var/run/mysqld; sudo chown mysql /var/run/mysqld
2.
$ mysqld_safe --skip-grant-tables &
$ mysql --user=root mysql
3.
-> update mysql.user set authentication_string=null where user='root';