Koha error

The following fatal error has occurred:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /var/www/perpustakaan/lib/C4/Context.pm line 666.
Compilation failed in require at /var/www/perpustakaan/lib/C4/Auth.pm line 30.
BEGIN failed--compilation aborted at /var/www/perpustakaan/lib/C4/Auth.pm line 30.
Compilation failed in require at /var/www/perpustakaan/opac/cgi-bin/opac/opac-search.pl line 12.
BEGIN failed--compilation aborted at /var/www/perpustakaan/opac/cgi-bin/opac/opac-search.pl line 12.