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(0xa366d14)', '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__('display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671', 'display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671') called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa2758ac)', 'display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671', 'display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671', ...) 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(0xa38b308)', 'SCALAR(0xa36368c)', 'SCALAR(0xa3aff18)') called at /var/lib/mason/obj/db/movies/autohandler line 16
HTML::Mason::Commands::__ANON__('display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671', 'display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671') called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa2758ac)', 'display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671', 'display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671', ...) 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(0xa38b308)', 'HTML::Mason::Component::FileBased=HASH(0xa2758ac)', 'display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671', 'display_set', 'big5', 'id', ...) 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(0xa38b308)', 'display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671') called at /var/lib/mason/obj/db/autohandler line 14
HTML::Mason::Commands::__ANON__('display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671') called at /usr/local/share/perl/5.8.8/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa1a1a04)', 'display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671') 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(0xa38b308)', 'HASH(0xa3a7204)', 'HTML::Mason::Component::FileBased=HASH(0xa1a1a04)', 'display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671') 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(0xa38b308)', '/db/movies/credits.mhtml', 'display_set', 'big5', 'id', '11642\x{c3}\x{83}\x{c6}\x{92}\x{c3}\x{82}\x{c2}\x{a2}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{85}\x{c2}\x{be}\x{c3}\x{83}\x{c2}\x{a2}\x{c3}\x{a2}\x{e2}\x{80}\x{9a}\x{c2}\x{ac}\x{c3}\x{8b}\x{c5}\x{93}_id=161671') 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(0xa1775c4)', 'Apache=SCALAR(0xa3a6af0)', 'HTML::Mason::Request::ApacheHandler=HASH(0xa38b308)', '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(0xa1775c4)', 'Apache=SCALAR(0xa3a6af0)') called at /etc/apache-perl//mason_handler.pl line 48
HTML::Mason::handler('Apache=SCALAR(0xa3a6af0)') called at /dev/null line 0
eval {...} called at /dev/null line 0