System error

error:  DBI connect('database=carexcanada;host=localhost','content',...) failed: Can't connect to MySQL server on 'localhost' (111) at /var/www/hoo/Hoo/DB.pm line 23.
context: 
... 
162:  local @CARP_NOT = $cgc ? $cgc->() : caller();
163:  shortmess_heavy(@_);
164:  }
165: 
166:  sub croak { die shortmess @_ }
167:  sub confess { die longmess @_ }
168:  sub carp { warn shortmess @_ }
169:  sub cluck { warn longmess @_ }
170: 
... 
code stack:  /usr/share/perl/5.20/Carp.pm:166
/usr/lib/x86_64-linux-gnu/perl5/5.20/DBI.pm:684
/usr/lib/x86_64-linux-gnu/perl5/5.20/DBI.pm:740
/var/www/hoo/Hoo/DB.pm:23
/var/www/carexcanada/html/autohandler:5
raw error






























DBI connect('database=carexcanada;host=localhost','content',...) failed: Can't connect to MySQL server on 'localhost' (111) at /var/www/hoo/Hoo/DB.pm line 23.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('DBI connect(\'database=carexcanada;host=localhost\',\'content\',...) failed: Can\'t connect to MySQL server on \'localhost\' (111) at /var/www/hoo/Hoo/DB.pm line 23.^J') called at /usr/share/perl/5.20/Carp.pm line 166
Carp::croak('DBI connect(\'database=carexcanada;host=localhost\',\'content\',...) failed: Can\'t connect to MySQL server on \'localhost\' (111)') called at /usr/lib/x86_64-linux-gnu/perl5/5.20/DBI.pm line 684
DBI::__ANON__(undef, undef) called at /usr/lib/x86_64-linux-gnu/perl5/5.20/DBI.pm line 740
DBI::connect('DBI', 'DBI:mysql:database=carexcanada;host=localhost', 'content', 'content', 'HASH(0x7f56b2689578)') called at /var/www/hoo/Hoo/DB.pm line 23
Hoo::DB::Connect('HASH(0x7f56af704860)') called at /var/www/carexcanada/html/autohandler line 5
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f56b2a35ec8)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1303
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 484
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 484
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 436
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f56b2936248)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f56b2936248)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f56b27122c0)', 'Apache2::RequestRec=SCALAR(0x7f56af2b3018)') called at (eval 109) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7f56af2b3018)') called at -e line 0
eval {...} at -e line 0