Can't get zmupdate.pl to run
Posted: Sun Mar 01, 2020 5:14 pm
Hello,
Trying to upgrade fro 1.32.x to 1.34.3 on CentOS 7.
When I run zmupdate.pl, iget the folowing errors:
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/share/perl5/vendor_perl/ZoneMinder/Database.pm line 107.
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/share/perl5/vendor_perl/ZoneMinder/Database.pm line 107.
03/01/2020 12:11:30.937602 zmupdate[4730].ERR [ZoneMinder::Database:113] [Error reconnecting to db: errstr:Access denied for user 'zmuser'@'localhost' (using password: YES) error val:]
03/01/2020 12:11:30.937941 zmupdate[4730].ERR [ZoneMinder::Database:113] [Error reconnecting to db: errstr:Access denied for user 'zmuser'@'localhost' (using password: YES) error val:]
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/share/perl5/vendor_perl/ZoneMinder/Database.pm line 107.
03/01/2020 12:11:30.938490 zmupdate[4730].ERR [ZoneMinder::Database:113] [Error reconnecting to db: errstr:Access denied for user 'zmuser'@'localhost' (using password: YES) error val:]
Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 96.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 147.
Compilation failed in require at /usr/bin/zmupdate.pl line 73.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 73.
If I try running zmupdate.pl --user=root --pass=<mysql_root_pwd> --version=<from version> and inserting my password, I get the following error:
bash: syntax error near unexpected token `newline'
Any help would be greatly appreciated
TIA
Trying to upgrade fro 1.32.x to 1.34.3 on CentOS 7.
When I run zmupdate.pl, iget the folowing errors:
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/share/perl5/vendor_perl/ZoneMinder/Database.pm line 107.
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/share/perl5/vendor_perl/ZoneMinder/Database.pm line 107.
03/01/2020 12:11:30.937602 zmupdate[4730].ERR [ZoneMinder::Database:113] [Error reconnecting to db: errstr:Access denied for user 'zmuser'@'localhost' (using password: YES) error val:]
03/01/2020 12:11:30.937941 zmupdate[4730].ERR [ZoneMinder::Database:113] [Error reconnecting to db: errstr:Access denied for user 'zmuser'@'localhost' (using password: YES) error val:]
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at /usr/share/perl5/vendor_perl/ZoneMinder/Database.pm line 107.
03/01/2020 12:11:30.938490 zmupdate[4730].ERR [ZoneMinder::Database:113] [Error reconnecting to db: errstr:Access denied for user 'zmuser'@'localhost' (using password: YES) error val:]
Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 96.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/ZoneMinder/Config.pm line 147.
Compilation failed in require at /usr/bin/zmupdate.pl line 73.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 73.
If I try running zmupdate.pl --user=root --pass=<mysql_root_pwd> --version=<from version> and inserting my password, I get the following error:
bash: syntax error near unexpected token `newline'
Any help would be greatly appreciated
TIA