Database Credentials

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

Moderator: moderator

Database Credentials

Postby torcolato » Sat Aug 20, 2016 8:47 am

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

Postby torcolato » Sat Aug 20, 2016 8:48 am

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

Re: Database Credentials

Postby torcolato » Sat Aug 20, 2016 4:17 pm

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
torcolato
 
Posts: 8
Joined: Thu Aug 24, 2006 2:12 pm


Return to Installation & Upgrades

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron