Zoneminder and a remote database

Support and queries relating to all previous versions of ZoneMinder
Locked
johnpaul76
Posts: 20
Joined: Mon Nov 10, 2003 4:05 pm

Zoneminder and a remote database

Post by johnpaul76 »

Is it possible to use zone minder with a remote MySQL database?

I have a database setup on a different machine with a lot more space than the computer that is going to be running zone minder.

Thanks.

P.S. Sorry for the blank post.
User avatar
tech_fixer
Posts: 132
Joined: Tue Jul 29, 2003 3:07 pm

Re: Zoneminder and a remote database

Post by tech_fixer »

John,
You sure can install ZM to run with a remote database, just make sure you specify the hostname of the remote machine when you run the configuration script.

But, if space is your concern then you should worry more about where you're going to store the images and videos generated by the system. Those are not stored in the database, but in the web server's directories. That's what you got to watch out for.

The databse only stores event metadata such as the path to the image files and the amount of images and frames, alarm scores, that kind of stuff.

Regards,
Jose Rodriguez
johnpaul76
Posts: 20
Joined: Mon Nov 10, 2003 4:05 pm

Re: Zoneminder and a remote database

Post by johnpaul76 »

The server that has the database is also a webserver, can I have zoneminder store its files there? (Sorry, I am somewhat new)

:)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Zoneminder and a remote database

Post by zoneminder »

Hi John,

I think the only way you can get it to store files remotely is by network mounting a drive from the local machine via NFS, samba etc. This should work ok if the network is fast enough but is bound to be slower than if held locally.

Phil,
johnpaul76
Posts: 20
Joined: Mon Nov 10, 2003 4:05 pm

Re: Zoneminder and a remote database

Post by johnpaul76 »

ok, thanks.
Locked