Installation Help - OpenEMM 2013 - MYSQL Error

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

Moderator: moderator

penfold15
Posts: 2
Joined: Wed Jul 31, 2013 12:32 pm

Installation Help - OpenEMM 2013 - MYSQL Error

Post by penfold15 » Wed Jul 31, 2013 12:38 pm

Hi,

I am getting the error "Wrong username/password or account temporarily lockedA general error occurred. Please check your input" when trying to login. I also get this in the error logs:


Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'agnitas'@'openemm' (using password: $
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
... 48 more
Caused by: java.sql.SQLException: Access denied for user 'agnitas'@'openemm' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3558)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3490)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:919)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3996)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1284)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2142)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:781)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
... 51 more

I can login to phpmyadmin OK so I know mysql is runing. If anyone can help please do

Thank you

penfold15
Posts: 2
Joined: Wed Jul 31, 2013 12:32 pm

Re: Installation Help - OpenEMM 2013 - MYSQL Error

Post by penfold15 » Thu Aug 01, 2013 9:09 am

BUMP

Can anyone help with this?

amrone
Posts: 1
Joined: Sat Aug 03, 2013 5:06 pm

Re: Installation Help - OpenEMM 2013 - MYSQL Error

Post by amrone » Sat Aug 03, 2013 5:13 pm

i think you have to create a mysql user "agnitas" with "openemm" as password, or to change the configuration in emm.properties in webapp/openemm/web-inf/classes directory

Post Reply