Mason error

error in file:   /usr/local/share/perl/5.8.8/HTML/Mason/Interp.pm
 
line 45:  Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
context:  
... 
41:  static_file_root
42:  use_data_cache
43:  use_object_files
44:  use_reload_file ) ],
45:  );
46: 
47:  # Fields that can be set in new method, with defaults
48:  my %fields =
49:  (
... 
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/movies/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/movies/autohandler:45
/var/lib/mason/obj/db/movies/autohandler:16
/var/lib/mason/obj/db/autohandler:14


raw_error




























raw error:
 






























error while executing /db/movies/autohandler:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /var/lib/mason/obj/db/movies/autohandler line 45
 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(0xad86108)', '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/movies/autohandler line 45
HTML::Mason::Commands::__ANON__('image_id', 42210, 'display_set', 'eng', 'id', 7131, '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(0xacc3cc8)', 'image_id', 42210, 'display_set', 'eng', 'id', 7131, '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(0xadad008)', 'SCALAR(0xad86048)', 'SCALAR(0xad86060)') called at /var/lib/mason/obj/db/movies/autohandler line 16
HTML::Mason::Commands::__ANON__('image_id', 42210, 'display_set', 'eng', 'id', 7131, '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(0xacc3cc8)', 'image_id', 42210, 'display_set', 'eng', 'id', 7131, '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(0xadad008)', 'HTML::Mason::Component::FileBased=HASH(0xacc3cc8)', 'image_id', 42210, 'display_set', 'eng', 'id', 7131, '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(0xadad008)', 'display_set', 'eng', 'image_id', 42210, 'id', 7131) called at /var/lib/mason/obj/db/autohandler line 14
HTML::Mason::Commands::__ANON__('image_id', 42210, 'display_set', 'eng', 'id', 7131) called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xacb19dc)', 'image_id', 42210, 'display_set', 'eng', 'id', 7131) 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(0xadad008)', 'HASH(0xacfbda8)', 'HTML::Mason::Component::FileBased=HASH(0xacb19dc)', 'image_id', 42210, 'display_set', 'eng', 'id', 7131, ...) 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(0xadad008)', '/db/movies/image_detail.mhtml', 'image_id', 42210, 'display_set', 'eng', 'id', 7131) 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(0xac94b1c)', 'HTML::Mason::Request::ApacheHandler=HASH(0xadad008)', '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(0xac94b1c)') called at /etc/apache-perl//mason_handler.pl line 48
HTML::Mason::handler('Apache=SCALAR(0xac94b1c)') called at /dev/null line 0
eval {...} called at /dev/null line 0