System error

error:  Kann keine Verbindung zum mysql Server aufbauen: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
context: 
... 
93: 
94:  #
95:  # Abfrage um "ZSL Aussenstelle Liste" als Pulldown-Menue in HTML umsetzen
96:  #
97:  $dbh = DBI->connect( "dbi:$mydbserv:$db1name", $username, $password) ||
98:  die "Kann keine Verbindung zum $mydbserv Server aufbauen: $DBI::errstr\n";
99:  # $dbh->{'mysql_enable_utf8'} = 1;
100:  $dbh->do("SET NAMES 'utf8'");
101: 
... 
code stack:  /srv/www/perl-lib/lfb_datenbank.pm:97
/srv/www/redesign/zsl_as_es/angebot/fortbildungen/index.html:9
/srv/www/redesign/autohandler:14
raw error






























Kann keine Verbindung zum mysql Server aufbauen: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


Trace begun at /usr/share/perl5/vendor_perl/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Kann keine Verbindung zum mysql Server aufbauen: Can\'t connect to local MySQL server through socket \'/var/lib/mysql/mysql.sock\' (2)^J') called at /srv/www/perl-lib/lfb_datenbank.pm line 97
lfb_datenbank::startform('', 'ALLE', 'ALLE', 'ALLE', 'Es', 'lfb', '', '', 0) called at /srv/www/redesign/zsl_as_es/angebot/fortbildungen/index.html line 9
HTML::Mason::Commands::__ANON__('simpsuche', 0) called at /usr/share/perl5/vendor_perl/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55dfeed4ef18)', 'simpsuche', 0) called at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 1284
eval {...} at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, undef, 'simpsuche', 0) called at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 1332
HTML::Mason::Request::scomp('HTML::Mason::Request::ApacheHandler=HASH(0x55dfee7d2388)', 'HTML::Mason::Component::FileBased=HASH(0x55dfeed4ef18)', 'simpsuche', 0) called at /srv/www/redesign/autohandler line 14
HTML::Mason::Commands::__ANON__('simpsuche', 0) called at /usr/share/perl5/vendor_perl/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55dfee739e90)', 'simpsuche', 0) called at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 1279
eval {...} at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, undef, 'simpsuche', 0) called at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 473
eval {...} at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 473
eval {...} at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 425
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55dfee7d2388)') called at /usr/share/perl5/vendor_perl/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55dfee7d2388)') called at /usr/share/perl5/vendor_perl/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55dfedf14638)', 'Apache2::RequestRec=SCALAR(0x55dfed6500a8)') called at /srv/www/perl-lib/MyLMS/Mason.pm line 48
MyLMS::Mason::handler('Apache2::RequestRec=SCALAR(0x55dfed6500a8)') called at -e line 0
eval {...} at -e line 0