Changing the database

Forum for questions and support relating to the 1.25.x releases only.
Locked
guinoz
Posts: 4
Joined: Wed Jun 11, 2014 5:29 pm

Changing the database

Post by guinoz »

Hey Everyone!

I want to know how can i change the localhost database for other database in a server?
I tried to edit /etc/zm.conf changing "ZM_DB_USER", "ZM_DB_HOST", "ZM_DB_PASS" and to create the schema in MySQL Workbench but it doesn't worked. When i try restart Zoneminder this message error is shown:
"Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/share/perl5/ZoneMinder/Logger.pm line 153.
BEGIN not safe after errors--compilation aborted at /usr/share/perl5/ZoneMinder/Logger.om line 168.
Compilation failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 34.
Compilation failed in require at /usr/bin/zmpkg.pl line 37.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 37.
failure"

Does anyone know help me?
Locked