Ubuntu 18.04: MySQL or MariaDB for Zoneminder

A place for discussion of topics that are not specific to ZoneMinder. This could include Linux, Video4Linux, CCTV cameras or any other topic.
Post Reply
ScottBouch
Posts: 43
Joined: Sat Oct 26, 2013 2:58 pm

Ubuntu 18.04: MySQL or MariaDB for Zoneminder

Post by ScottBouch »

As per the title, I'm just setting up a new install of Ubuntu 18.04 and have come to install Zoneminder.

I have the choice of MariaDB or MySQL, but don;t know which to go for.

Are there any pro's / cons to Zoneminder as to which one I go for?

Cheers, Scott.
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Ubuntu 18.04: MySQL or MariaDB for Zoneminder

Post by SteveGilvarry »

Don't think it makes much of a difference at the moment, I think most head towards MariaDB, but that could be more a philosophy choice that features.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Ubuntu 18.04: MySQL or MariaDB for Zoneminder

Post by bbunge »

Mariadb seems to work better for me. Had to replace a 17 camera server a while back and went with Bionic and Mariadb. System seems to use less memory than with MySQL.
hunnymonster
Posts: 4
Joined: Wed Jan 16, 2019 9:49 pm

Re: Ubuntu 18.04: MySQL or MariaDB for Zoneminder

Post by hunnymonster »

Echo the above. Migrated a server from mySQL 5.7 to MariaDB 10.1 and on to 10.3.12 on Ubuntu 18.04 and load dropped from ~1.5 to ~0.7 same camera analysing similar scenes
f.eichentopf
Posts: 2
Joined: Wed Nov 07, 2018 4:46 am

Re: Ubuntu 18.04: MySQL or MariaDB for Zoneminder

Post by f.eichentopf »

@hunnymonster have you some tips howto migrate from mysql to mariadb?
hunnymonster
Posts: 4
Joined: Wed Jan 16, 2019 9:49 pm

Re: Ubuntu 18.04: MySQL or MariaDB for Zoneminder

Post by hunnymonster »

Not really - I simply installed the Ubuntu-bundled MariaDB (10.1 train) which took care of the MySQL - MariaDB change, then added the MariaDB PPA for the 10.3 train and upgraded.

Take a backup before you start, I'm not taking the blame if your installation breaks :mrgreen:
Eiserfeyer
Posts: 3
Joined: Thu Apr 13, 2017 9:17 am

Re: Ubuntu 18.04: MySQL or MariaDB for Zoneminder

Post by Eiserfeyer »

Is it also possible to use InfluxDB instead of MySQL or MariaDB while using ZM???
Post Reply