Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

Software error:

Can't call method "do" on an undefined value at pm/SHA/lib.pm line 39.

For help, please send mail to the webmaster (webmaster@hsif-international.com), giving this error message and the time and date of the error.