Can't connect to local MySQL server through socket '/var/run

Forum for questions and support relating to the 1.25.x releases only.
Locked
mikefritzbln
Posts: 1
Joined: Tue Sep 20, 2011 2:53 pm

Can't connect to local MySQL server through socket '/var/run

Post by mikefritzbln »

Hello,
I want to know how and where I must edit the entry for the socket entry, because i use the lampp distribution with the included mysql server.

Update:
When i start "rczm start"

the screen shows:

Starting ZoneMinder Daemon DBI connect('database=zm;host=localhost','zm_admin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) at /usr/lib/perl5/vendor_perl/5.12.3/ZoneMinder/Config.pm line 89
Can't call method "prepare_cached" on an undefined value at /usr/lib/perl5/vendor_perl/5.12.3/ZoneMinder/Config.pm line 91.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.12.3/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.12.3/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.12.3/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 37.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.


what must i do?

Thanks a lot.
Michael
Locked