Hi
I think the problem is authentification and authorization, please see below,
but how can i solve it?
... 173 more
Caused by: java.sql.SQLException: Access denied for user: '[EMAIL PROTECTED]'
(Using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:812)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1235)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2670)
at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnecti
on(LocalManagedConnectionFactory.java:171)
... 181 more
regards
Parviz
parviz wrote:
>
> Hi
>
> I've created helloworld example (CRUD) , moon creartion etc. And I've used
> "universe-mysql-ds.xml",
> (as described in tutorial), mysql-connector.... (copy in jBoss directory)
> und i let run Universe_ddl.sql (nevertheless I did not know exaclty in
> which database it must run, therefore I did once in test database and once
> in hellowworld). But in both cases i had problem with connection with
> database, as you see below:
>
> System error
> (org.fornax.cartridges.sculptor.framework.errorhandling.DatabaseAccessException),
> caused by: Hibernate operation: Cannot open connection; uncategorized
> SQLException for SQL [???]; SQL state [null]; error code [0]; Could not
> create connection; - nested throwable: (java.sql.SQLException: Access
> denied for user: [EMAIL PROTECTED] (Using password: YES)); - nested
> throwable: (org.jboss.resource.JBossResourceException: Could not create
> connection; - nested throwable: (java.sql.SQLException: Access denied for
> user: [EMAIL PROTECTED] (Using password: YES))); nested exception is
> org.jboss.util.NestedSQLException: Could not create connection; - nested
> throwable: (java.sql.SQLException: Access denied for user: [EMAIL PROTECTED]
> (Using password: YES)); - nested throwable:
> (org.jboss.resource.JBossResourceException: Could not create connection; -
> nested throwable: (java.sql.SQLException: Access denied for user:
> [EMAIL PROTECTED] (Using password: YES)))
>
>
> thanks for advices
> parviz
>
>
--
View this message in context:
http://www.nabble.com/problem-with-database-connection-tp17276644s17564p17276909.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer