zmupdate.pl on FC3
Posted: Wed Jan 18, 2006 2:01 pm
Hi,
I'm upgrading Zoneminder 1.21.4 to the new 1.22.0 version. Compiling goes ok, but can't update database. This is what I get when running zmupdate.pl: (I've scrubbed the password)
zmupdate.pl --from=1.21.4 --user=alex --pass=xxxxxxxx
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user: 'zmuser@localhost' (Using password: YES) at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/Config.pm line 88
Can't call method "prepare_cached" on an undefined value at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/Config.pm line 90.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/Config.pm line 99.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/local/bin/zmupdate.pl line 48.
BEGIN failed--compilation aborted at /usr/local/bin/zmupdate.pl line 48.
Alexander
I'm upgrading Zoneminder 1.21.4 to the new 1.22.0 version. Compiling goes ok, but can't update database. This is what I get when running zmupdate.pl: (I've scrubbed the password)
zmupdate.pl --from=1.21.4 --user=alex --pass=xxxxxxxx
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user: 'zmuser@localhost' (Using password: YES) at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/Config.pm line 88
Can't call method "prepare_cached" on an undefined value at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/Config.pm line 90.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder/Config.pm line 99.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/local/bin/zmupdate.pl line 48.
BEGIN failed--compilation aborted at /usr/local/bin/zmupdate.pl line 48.
Alexander