how to change mysql root password from command line code example
Example: what is default mysql database password in linux
$ sudo apt install mysql-server
$ sudo cat /etc/mysql/debian.cnf
$ sudo apt install mysql-server
$ sudo cat /etc/mysql/debian.cnf