System error

error:  DBI connect('database=incremental;host=localhost','content',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /var/www/hoo/Hoo/DB.pm line 23.
context: 
... 
285:  local @CARP_NOT = $cgc ? $cgc->() : caller();
286:  shortmess_heavy(@_);
287:  }
288: 
289:  sub croak { die shortmess @_ }
290:  sub confess { die longmess @_ }
291:  sub carp { warn shortmess @_ }
292:  sub cluck { warn longmess @_ }
293: 
... 
code stack:  /usr/share/perl/5.28/Carp.pm:289
/usr/lib/x86_64-linux-gnu/perl5/5.28/DBI.pm:692
/usr/lib/x86_64-linux-gnu/perl5/5.28/DBI.pm:748
/var/www/hoo/Hoo/DB.pm:23
/var/www/incremental/html/autohandler:3
raw error






























DBI connect('database=incremental;host=localhost','content',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /var/www/hoo/Hoo/DB.pm line 23.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('DBI connect(\'database=incremental;host=localhost\',\'content\',...) failed: Can\'t connect to local MySQL server through socket \'/var/run/mysqld/mysqld.sock\' (111) at /var/www/hoo/Hoo/DB.pm line 23.^J') called at /usr/share/perl/5.28/Carp.pm line 289
Carp::croak('DBI connect(\'database=incremental;host=localhost\',\'content\',...) failed: Can\'t connect to local MySQL server through socket \'/var/run/mysqld/mysqld.sock\' (111)') called at /usr/lib/x86_64-linux-gnu/perl5/5.28/DBI.pm line 692
DBI::__ANON__(undef, undef) called at /usr/lib/x86_64-linux-gnu/perl5/5.28/DBI.pm line 748
DBI::connect('DBI', 'DBI:mysql:database=incremental;host=localhost', 'content', 'C0ntent68!', 'HASH(0x7f99e8be7da0)') called at /var/www/hoo/Hoo/DB.pm line 23
Hoo::DB::Connect('HASH(0x7f99e8c8bd48)') called at /var/www/incremental/html/autohandler line 3
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f99e8c8b5b0)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55b50ca65968)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55b50ca65968)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f99e8be2590)', 'Apache2::RequestRec=SCALAR(0x7f99f8047318)') called at (eval 39) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7f99f8047318)') called at -e line 0
eval {...} at -e line 0