System error

error:  DBI connect('database=metro_metro;host=localhost;mysql_socket=/var/run/mysql/5.0/mysqld.sock','metro',...) failed: Can't connect to local MySQL server through socket '/var/run/mysql/5.0/mysqld.sock' (2) at /home/advanced/metro/lib/blholmes/Tools.pm line 37
context: 
... 
98:  # whether they should generate a full stack trace (confess() and cluck())
99:  # or simply report the caller's package (croak() and carp()), respectively.
100:  # confess() and croak() die, carp() and cluck() warn.
101: 
102:  sub croak { die shortmess @_ }
103:  sub confess { die longmess @_ }
104:  sub carp { warn shortmess @_ }
105:  sub cluck { warn longmess @_ }
106: 
... 
code stack:  /usr/share/perl/5.8/Carp.pm:102
/usr/local/lib/perl/5.8.8/DBI.pm:635
/usr/local/lib/perl/5.8.8/DBI.pm:687
/home/advanced/metro/lib/blholmes/Tools.pm:37
/home/shared/metro/public_html/macarthurmetro.org/shared2/getConn:5
/home/shared/metro/public_html/macarthurmetro.org/dhandler:2
raw error






























DBI connect('database=metro_metro;host=localhost;mysql_socket=/var/run/mysql/5.0/mysqld.sock','metro',...) failed: Can't connect to local MySQL server through socket '/var/run/mysql/5.0/mysqld.sock' (2) at /home/advanced/metro/lib/blholmes/Tools.pm line 37


Trace begun at /usr/local/share/perl/5.8.8/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('DBI connect(\'database=metro_metro;host=localhost;mysql_socket=/var/run/mysql/5.0/mysqld.sock\',\'metro\',...) failed: Can\'t connect to local MySQL server through socket \'/var/run/mysql/5.0/mysqld.sock\' (2) at /home/advanced/metro/lib/blholmes/Tools.pm line 37^J') called at /usr/share/perl/5.8/Carp.pm line 102
Carp::croak('DBI connect(\'database=metro_metro;host=localhost;mysql_socket=/var/run/mysql/5.0/mysqld.sock\',\'metro\',...) failed: Can\'t connect to local MySQL server through socket \'/var/run/mysql/5.0/mysqld.sock\' (2)') called at /usr/local/lib/perl/5.8.8/DBI.pm line 635
DBI::__ANON__(undef, undef) called at /usr/local/lib/perl/5.8.8/DBI.pm line 687
DBI::connect('DBI', 'DBI:mysql:database=metro_metro;host=localhost;mysql_socket=/var/run/mysql/5.0/mysqld.sock', 'metro', 'eirushah', 'HASH(0x1b5fc20)') called at /home/advanced/metro/lib/blholmes/Tools.pm line 37
blholmes::Tools::dbi_connect('production') called at /home/shared/metro/public_html/macarthurmetro.org/shared2/getConn line 5
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1544ff0)') called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 1273
eval {...} at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef) called at /home/shared/metro/public_html/macarthurmetro.org/dhandler line 2
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x139d440)') called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 1273
eval {...} at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 419
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x1b668e0)') called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x1b668e0)') called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x968e20)', 'Apache2::RequestRec=SCALAR(0x167b620)') called at (eval 30) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x167b620)') called at -e line 0
eval {...} at -e line 0