That is because MySQL is not running, and you can not connect to it.
If I remember well and at this moment I don't have a computer with GNU/Linux, you have to do the following:
# cd /etc/init.d
And you will find that there is a file with the name mysqld (This is if you installed mysql-server).
# ./mysqld start
And now MySQL service is up.
You can connect by typing: