What I did was first I stop by this command service mysqld stop. Then I ran this mysqld_safe --skip-grant-tables. The problem it gave me the output below and just thats all kept there. Can I type in the empty space below where the last line?
nohup: ignoring input and redirecting stderr to stdout
Starting mysqld daemon with databases from /var/lib/mysql