System error

error: 
Kann keine Verbindung zum Datenbankserver aufbauen. Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
context: 
... 
948: 
949:  #
950:  # Baue Verbindung zum Datenbankserver auf
951:  #
952:  $dbh = DBI->connect("dbi:$mydbserv:$db1name", $username, $password)
953:  or die "\nKann keine Verbindung zum Datenbankserver aufbauen. $DBI::errstr \n";
954:  $dbh->do("SET NAMES 'utf8'");
955: 
956:  #
... 
code stack:  /srv/www/perl-lib/lfb_datenbank.pm:952
/srv/www/redesign/fb/einzelds.html:7
/srv/www/redesign/autohandler:14
raw error






























Kann keine Verbindung zum Datenbankserver 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('^JKann keine Verbindung zum Datenbankserver 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 952
lfb_datenbank::einzelds(922588, 'L3N0X2RpZ2l0YWwvZWxlYXJuaW5nL2Npc2NvL2ZiLwo=', '') called at /srv/www/redesign/fb/einzelds.html line 7
HTML::Mason::Commands::__ANON__('lfbnr', 922588, 'zeit', 'aktuell', 'returi', 'L3N0X2RpZ2l0YWwvZWxlYXJuaW5nL2Npc2NvL2ZiLwo=') called at /usr/share/perl5/vendor_perl/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55dfeece4ee0)', 'lfbnr', 922588, 'zeit', 'aktuell', 'returi', 'L3N0X2RpZ2l0YWwvZWxlYXJuaW5nL2Npc2NvL2ZiLwo=') 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, 'lfbnr', 922588, 'zeit', 'aktuell', 'returi', 'L3N0X2RpZ2l0YWwvZWxlYXJuaW5nL2Npc2NvL2ZiLwo=') called at /usr/share/perl5/vendor_perl/HTML/Mason/Request.pm line 1332
HTML::Mason::Request::scomp('HTML::Mason::Request::ApacheHandler=HASH(0x55dfed9b6e70)', 'HTML::Mason::Component::FileBased=HASH(0x55dfeece4ee0)', 'lfbnr', 922588, 'zeit', 'aktuell', 'returi', 'L3N0X2RpZ2l0YWwvZWxlYXJuaW5nL2Npc2NvL2ZiLwo=') called at /srv/www/redesign/autohandler line 14
HTML::Mason::Commands::__ANON__('lfbnr', 922588, 'zeit', 'aktuell', 'returi', 'L3N0X2RpZ2l0YWwvZWxlYXJuaW5nL2Npc2NvL2ZiLwo=') called at /usr/share/perl5/vendor_perl/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x55dfee7b43a0)', 'lfbnr', 922588, 'zeit', 'aktuell', 'returi', 'L3N0X2RpZ2l0YWwvZWxlYXJuaW5nL2Npc2NvL2ZiLwo=') 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, 'lfbnr', 922588, 'zeit', 'aktuell', 'returi', 'L3N0X2RpZ2l0YWwvZWxlYXJuaW5nL2Npc2NvL2ZiLwo=') 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(0x55dfed9b6e70)') called at /usr/share/perl5/vendor_perl/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x55dfed9b6e70)') called at /usr/share/perl5/vendor_perl/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x55dfedfa5218)', 'Apache2::RequestRec=SCALAR(0x55dfed99cb90)') called at /srv/www/perl-lib/MyLMS/Mason.pm line 48
MyLMS::Mason::handler('Apache2::RequestRec=SCALAR(0x55dfed99cb90)') called at -e line 0
eval {...} at -e line 0