System error
error: |
Unable to connect: Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2)
|
context: |
... |
|
286: |
$r->content_type("text/html; charset=utf-8"); |
287: |
|
288: |
#connect to db; |
289: |
#via socket: |
290: |
$dbh = DBI->connect("dbi:mysql:announce",$mysqluser, $password) || die "Unable to connect: $DBI::errstr\n"; |
291: |
# $dbh = DBI->connect($mysqluser, $password) || die "Unable to connect: $DBI::errstr\n"; |
292: |
|
293: |
#session ids: |
294: |
#use Apache2::Cookie; |
... |
|
|
code stack: |
/usr/local/www/gro.tgnilk/autohandler:290
|
raw error
Unable to connect: Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2)
Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Unable to connect: Can\'t connect to local server through socket \'/run/mysqld/mysqld.sock\' (2)^J') called at /usr/local/www/gro.tgnilk/autohandler line 290
HTML::Mason::Commands::__ANON__('sid', 65094633553526) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x560874c96c40)', 'sid', 65094633553526) 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, 'sid', 65094633553526) 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(0x560877057f20)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x560877057f20)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x560874f4ab58)', 'Apache2::RequestRec=SCALAR(0x5608765f4140)') called at (eval 24) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x5608765f4140)') called at -e line 0
eval {...} at -e line 0