Page 1 of 1
multi Zoneminders with one database
Posted: Fri Dec 21, 2007 4:30 pm
by alau
Can different zoneminder instances write to the same database? Say if I have two or more computers capturing from cameras and they all set up to store to the same mysql server.
Thanks in advance,
alau
Posted: Thu Dec 27, 2007 10:40 pm
by winblowzxp
just use a prefix for your table and tell the php stuff to go there for database transactions. Use something like t1_zm and t2_zm.
Posted: Fri Dec 28, 2007 3:02 am
by cordel
winblowzxp wrote:just use a prefix for your table and tell the php stuff to go there for database transactions. Use something like t1_zm and t2_zm.
No it's not that simple.
You can use the same database server and create a database for each instance, otherwise you will need to change code in the zm binaries and the php code to suit your needs.