fedora 3 - Access denied for user: 'ZM_DB_USER@localhost'

Support and queries relating to all previous versions of ZoneMinder
Locked
8ace
Posts: 104
Joined: Tue May 31, 2005 3:38 pm

fedora 3 - Access denied for user: 'ZM_DB_USER@localhost'

Post by 8ace »

just loaded cordel's fedora 3 dsic w/no probs except this message. Any suggestions anyone?

Could not connect to database: Access denied for user: 'ZM_DB_USER@localhost' (Using password: YES)
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Looks like the database user was not set properly.
Make sure you have the correct user and password set in /etc/zm.conf
Make sure the database was created.
Then if make sure you have run zminit.

Regards,
Corey
8ace
Posts: 104
Joined: Tue May 31, 2005 3:38 pm

Post by 8ace »

thanks Corey, I will check /etc/zm.conf this evening. :D
8ace
Posts: 104
Joined: Tue May 31, 2005 3:38 pm

Post by 8ace »

hi Corey - I added user root (password blank) into zm.conf.

But when I run zminit I get

ERROR (/etc/zm.conf): ZM_DB_PASS should exist and not be empty.

what do I need to do with / what is ZM_DB_PASS?
:)

thx
8ace
Posts: 104
Joined: Tue May 31, 2005 3:38 pm

Post by 8ace »

ahh ... I read the instructions wrong. I added root as the id and blank as the password in zm.conf!

zm is up. Discounting time lost due to my unbridled enthusiasm, total install time - 30 mins or less!

Thanks!
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

:lol: I remember being that way a few years back too :D

Cheers,
Corey
8ace
Posts: 104
Joined: Tue May 31, 2005 3:38 pm

Post by 8ace »

No one likes good news, but...

1. absolutely standard Fedora install from Corey
2. 7 video cameras - FOUR miscellaneous junky BT cards in my 1.something GHz AMD(one 4pt ebay spesh) and a mix of odd tuner and capture cards.
3. Absolutely no special configurations carried out (wouldn;t know how to anyway)
3. My homemade web pages are now sitting in the root, with zm in /zm/ - running dyndns through IPCOP (Cheapsville, USA!)

Astonishing. With the exception of my not being able to read properly, let's make that 1 hours total install time!

thanks Corey and have a great evening....
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

good news you bas..... lol

Glad your up and running
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Glad you got it all figured out.
Enjoy :D
Corey
Locked