zoneminder multi server database questions
Posted: Mon Aug 28, 2023 2:20 pm
I've been wanting to have a multi server setup for a while, the first time I attempted all of this think I went about it the wrong way. This time I have one machine running well, no errors and acting like it should with all of the cameras that I would like to start with. The big issue that I'm facing is with the database. Yesterday I had a second server configured successfully like the first. When I started the process to connect the second server to the first, it became apparent that the second server couldn't connect to the database. When I started to reread the wiki I noticed that I had missed the part about installing mariadb server software.
When I tried to install mariadb I received an error "Unable to correct problems, you have held broken packages." When I saw this error I started to dig back into the mysql config. Should mysql be able to accept incoming connections from another machine? I changed the file /etc/mysql/my.cnf to include the line bind-address = 0.0.0.0 After accomplishing this step I still wasn't able to connect.
I feel like getting mariadb up and running would be the way to go but wanted to check here before I messed anything up to terribly. Does anyone have any thoughts or suggestions?
When I tried to install mariadb I received an error "Unable to correct problems, you have held broken packages." When I saw this error I started to dig back into the mysql config. Should mysql be able to accept incoming connections from another machine? I changed the file /etc/mysql/my.cnf to include the line bind-address = 0.0.0.0 After accomplishing this step I still wasn't able to connect.
I feel like getting mariadb up and running would be the way to go but wanted to check here before I messed anything up to terribly. Does anyone have any thoughts or suggestions?