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?