Can't connect to localhost as root with the current password

MySQL Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)

This script cannot continue, terminating.