Database error connecting TODAY: Parts database_connect

Software error:

cannot connect to mysql server Parts : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.