910912 - i get error in Config.pm

Support and queries relating to all previous versions of ZoneMinder
Locked
hamidi
Posts: 4
Joined: Sun Oct 21, 2012 9:57 am

910912 - i get error in Config.pm

Post by hamidi »

hi
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 );
the error is:

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) ...
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?
Locked