Skip to content

Commit

Permalink
Merge pull request #434 from cmilanf/master
Browse files Browse the repository at this point in the history
Added pyzm_overrides warning in case ZoneMinder connects to database using UNIX socket
  • Loading branch information
connortechnology authored Nov 1, 2024
2 parents a879c12 + 5103238 commit ec14252
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion hook/objectconfig.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,17 @@ cpu_max_lock_wait=100
tpu_max_lock_wait=100
gpu_max_lock_wait=100


# If your ZoneMinder setup is using UNIX socket to connect
# a local database and in your zm.conf there is a line that
# looks like this one:
# ZM_DB_HOST=localhost:/var/run/mysqld/mysqld.sock
# Event Server won't play nice with it and zm_detect will fail.
# Uncomment the following pyzm_overrides and properly populate
# dbhost entry with hostname:port to get zm_detect working.
#
#pyzm_overrides={'log_level_debug':5,'dbhost':'localhost:3306'}
#
# Use the following other configurations otherwise:
#pyzm_overrides={'conf_path':'/etc/zm','log_level_debug':0}
pyzm_overrides={'log_level_debug':5}

Expand Down

0 comments on commit ec14252

Please sign in to comment.