Error on MySQL in Root Server

06/15/2012 14:39 Nunuh91#1
Hello yesterday I bought a Root server, and follow the steps of these 2 tutorials to install MySQL and the files:

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

I have done all fine, but when comes the part to put the command:
"mysql -u root -p"

It tells me to put the password, I put and it gives me this error:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

The password its correct, because I use that password on Navicat and it works.

I tried to search on the forum, but didn't found nothing.
Can someone help me please?

Sorry for my bad english.
Best regards, Nuno

Bump!