On debian based system, when installing mysql, your current root password is used to setup the mysql root password.
If you dont know it, you can change it using this procedure.
https://dev.mysql.com/doc/refman/8.0/en ... sions.html
instead of that kill command, you should probably just use 'systemctl stop mysql' though, since on systemd (or upstart) system, the init manager will automaticly restart mysql rendering this 'kill' command useless.