Working with ZoneMinder 1.22.1 on Fedora core 5. when I run zmpkg.pl start I get the following error:
[root@localhost ~]# zmpkg.pl start
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.8/ZoneMinder/Config.pm line 89
Can't call method "prepare_cached" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Config.pm line 91.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Config.pm line 100.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder.pm line 33.
Compilation failed in require at /usr/local/bin/zmpkg.pl line 45.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 45.
I saw several other posts about the Access Denied issue and tried some of the commands but to no avail.
Please help! Thanks
Access Denied - Database Issues
Re: Access Denied - Database Issues
Are you sure you created the user zmuser in mysql?richware wrote: [root@localhost ~]# zmpkg.pl start
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.8/ZoneMinder/Config.pm line 89
Can you login to the database through the command line or do you get an error that access for zmuser is denied as well?
What procedures did you use to setup the database?
What have you tried to correct it?
Regards,
Corey
Yes, using the web interface, (webmin) I created zmuser under the global and database users in Mysql. I even added it to the users table in the zm database.
I since have uninstalled zoneminder 1.22.1 and dropped the zm database and installed 1.22.2. I tried to follow the instructions in the readme.pdf file under the topic "Building" . I am getting the same error msg previously posted. I tried also modifing the zm.conf file to use root with no password and root with my fedora logon password. I admit I'm not an expert in linux, (but give me a PC and I can wow ya)
I appreciate your response!
I since have uninstalled zoneminder 1.22.1 and dropped the zm database and installed 1.22.2. I tried to follow the instructions in the readme.pdf file under the topic "Building" . I am getting the same error msg previously posted. I tried also modifing the zm.conf file to use root with no password and root with my fedora logon password. I admit I'm not an expert in linux, (but give me a PC and I can wow ya)
I appreciate your response!