Can't connect to localhost as root

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

This script cannot continue, terminating.