Software error:

DBI connect('dbname=zakon;host=localhost','postcards',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) at head.pl line 151.

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

Software error:

[Sat Sep 25 07:45:48 2021] news.pl: DBI connect('dbname=zakon;host=localhost','postcards',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) at head.pl line 151.
Compilation failed in require at /var/www/html/hosts/timurv/zakon/cgi-bin/news.pl line 7.

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