Page 1 of 1

Database Credentials

Posted: Sat Aug 20, 2016 8:47 am
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

Re: Database Credentials

Posted: Sat Aug 20, 2016 8:48 am
by torcolato
sorry, OpenEMM-2015_R3_EA

Re: Database Credentials

Posted: Sat Aug 20, 2016 4:17 pm
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