Having OpenSSH deamon running is a great thing as you have an access to your Ubuntu shell from anywhere. Unfortunately there are some people that are running tools which scan IP addresses and check...
1.Log in as root
2.root@deathstar:~# /etc/init.d/mysql stop
3.mysqld_safe –skip-grant-tables &
Starting mysqld daemon with databases from /var/lib/mysql
4. root@deathstar:~$ mysql –user=root mysql
6. Hit enter
5. mysql> update user set Password=PASSWORD(‘new-password-here’) WHERE User=’root’;
Query OK, 2 rows...