3 Replies Latest reply on Mar 18, 2004 3:42 PM by Jacob Martinson

    Access denied for user: 'nukes@localhost'

    mvkirankumar Newbie

      hi all,

      pls help me out. im new here to nukes/jboss/mysql.

      im configuring nukes with jboss.

      i input the ddl files prepare.ddl and setup.ddl with changing the grant sql given by cooper in my earlier post.

      now i have started my jboss...it gives me this error:

      Access denied for user: 'nukes@localhost'
      23:04:50,984 INFO [EARDeployer] Init J2EE application: file:/C:/kiran/misc/jboss/jboss-3.2.3/ser
      ver/default/deploy/nukes.ear
      23:04:52,828 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connectio
      n:
      org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java
      .sql.SQLException: Invalid authorization specification, message from server: "Access denied for
      user: 'nukes@localhost' (Using password: YES)")
      at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConne
      ction(LocalManagedConnectionFactory.java:160)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEve
      ntListener(InternalManagedConnectionPool.java:477)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(Inter
      nalManagedConnectionPool.java:213)
      at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection
      (JBossManagedConnectionPool.java:496)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseC
      onnectionManager2.java:425)
      at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnec
      tionManager.java:318)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseCon
      nectionManager2.java:477)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.all
      ocateConnection(BaseConnectionManager2.java:814)
      at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java
      :102)

      expecting you replies..
      thanks in advance
      kiran kumar.