Database Credentials

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

torcolato
Posts: 8
Joined: Thu Aug 24, 2006 2:12 pm

Database Credentials

Post by torcolato »

Hi all,

where can i configure the database credentials?
I am forced to use other username/password combination than the default one.

I changed the grant in the sql files according to our credentials, the conf/context.xml and also bin/scripts/agn.py (not sure if the last is necessary??).

But still getting error when trying to log in:

DB Error:
Cannot acquire connection: Cannot create PoolableConnectionFactory (Access denied for user 'db4334'@'127.0.0.1' (using password: YES))

Any hint appreciated!
Thanks,
Christian
torcolato
Posts: 8
Joined: Thu Aug 24, 2006 2:12 pm

Re: Database Credentials

Post by torcolato »

sorry, OpenEMM-2015_R3_EA
torcolato
Posts: 8
Joined: Thu Aug 24, 2006 2:12 pm

Re: Database Credentials

Post by torcolato »

I was able to fix the error when giving grants for the db user also for Host '127.0.0.1'
Not sure why it wants to connect to 127.0.0.1 instead of localhost (which makes a difference with mysql) though; configured in conf/context.xml is 'localhost'...

Cheers,
Christian
Post Reply