910912 - i get error in Config.pm
Posted: Sun Dec 02, 2012 7:14 am
hi
at first, when Ubuntu is booting, i get error in line 89 of /usr/share/perl/5.10/ZoneMinder/Config.pm:the error is:
while i may run zmpkg.pl start with no problem after booting sequence ends and i login.
what's the problem and how can i resolve it?
at first, when Ubuntu is booting, i get error in line 89 of /usr/share/perl/5.10/ZoneMinder/Config.pm:
Code: Select all
my $dbh = DBI->connect( "DBI:mysql:database=".&ZM_DB_NAME.";host=".&ZM_DB_HOST, &ZM_DB_USER, &ZM_DB_PASS );
Code: Select all
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) ...
what's the problem and how can i resolve it?