Mason error

error in file:   /usr/local/share/perl/5.8.8/HTML/Mason/Interp.pm
 
line 48:  Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
context:  
... 
44:  use_reload_file ) ],
45:  );
46: 
47:  # Fields that can be set in new method, with defaults
48:  my %fields =
49:  (
50:  allow_recursive_autohandlers => 1,
51:  autohandler_name => 'autohandler',
52:  code_cache_max_size => 10*1024*1024,
... 
54:  current_time => 'real',
55:  data_cache_dir => '',
56:  data_dir => undef,
57:  dhandler_name => 'dhandler',
58:  die_handler => sub { Carp::confess($_[0]) },
59:  die_handler_overridden => 0,
60:  system_log_file => undef,
61:  system_log_separator => "\cA",
62:  max_recurse => 32,
... 
component stack:   /db/people/autohandler
/db/autohandler
code stack:   /usr/local/share/perl/5.8.8/HKMDB/Database.pm:284
/usr/local/share/perl/5.8.8/HKMDB/Database.pm:251
/var/lib/mason/obj/db/people/autohandler:48
/var/lib/mason/obj/db/people/autohandler:16
/var/lib/mason/obj/db/autohandler:14


raw_error




























raw error:
 






























error while executing /db/people/autohandler:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /var/lib/mason/obj/db/people/autohandler line 48
 at /usr/local/share/perl/5.8.8/HTML/Mason/Interp.pm line 58
HTML::Mason::Interp::__ANON__('Can\'t connect to local MySQL server through socket \'/var/ru...') called at /usr/share/perl/5.8/Carp.pm line 102
Carp::croak('Can\'t connect to local MySQL server through socket \'/var/ru...') called at /usr/local/share/perl/5.8.8/HKMDB/Database.pm line 284
HKMDB::Database::connect('HKMDB::Database=HASH(0xad1ae5c)', 'db', 'hkmdb') called at /usr/local/share/perl/5.8.8/HKMDB/Database.pm line 251
HKMDB::Database::new('HKMDB::Database') called at /var/lib/mason/obj/db/people/autohandler line 48
HTML::Mason::Commands::__ANON__('image_id', 169561, 'display_set', 'eng', 'id', 14675, 'display_set', 'eng', 'image_id', ...) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xad5a460)', 'image_id', 169561, 'display_set', 'eng', 'id', 14675, 'display_set', 'eng', ...) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 376
HTML::Mason::Request::call_self('HTML::Mason::Request::ApacheHandler=HASH(0xaccc030)', 'SCALAR(0xad54ee8)', 'SCALAR(0xad54f00)') called at /var/lib/mason/obj/db/people/autohandler line 16
HTML::Mason::Commands::__ANON__('image_id', 169561, 'display_set', 'eng', 'id', 14675, 'display_set', 'eng', 'image_id', ...) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xad5a460)', 'image_id', 169561, 'display_set', 'eng', 'id', 14675, 'display_set', 'eng', ...) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0xaccc030)', 'HTML::Mason::Component::FileBased=HASH(0xad5a460)', 'image_id', 169561, 'display_set', 'eng', 'id', 14675, 'display_set', ...) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 317
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xaccc030)', 'display_set', 'eng', 'image_id', 169561, 'id', 14675) called at /var/lib/mason/obj/db/autohandler line 14
HTML::Mason::Commands::__ANON__('image_id', 169561, 'display_set', 'eng', 'id', 14675) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xacc9fdc)', 'image_id', 169561, 'display_set', 'eng', 'id', 14675) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 654
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0xaccc030)', 'HASH(0xad513f8)', 'HTML::Mason::Component::FileBased=HASH(0xacc9fdc)', 'image_id', 169561, 'display_set', 'eng', 'id', 14675, ...) called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 160
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/Request.pm line 160
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xaccc030)', '/db/people/image_detail.mhtml', 'image_id', 169561, 'display_set', 'eng', 'id', 14675) called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 914
HTML::Mason::ApacheHandler::handle_request_1('HTML::Mason::ApacheHandler=HASH(0xac875c4)', 'Apache=SCALAR(0xac94b70)', 'HTML::Mason::Request::ApacheHandler=HASH(0xaccc030)', 'undef') called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 560
eval {...} called at /usr/local/share/perl/5.8.8/HTML/Mason/ApacheHandler.pm line 560
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xac875c4)', 'Apache=SCALAR(0xac94b70)') called at /etc/apache-perl//mason_handler.pl line 48
HTML::Mason::handler('Apache=SCALAR(0xac94b70)') called at /dev/null line 0
eval {...} called at /dev/null line 0