Encountering "Access denied for user" when connecting to MySQL using JBoss EAP

Solution Verified - Updated -

Issue

java.sql.SQLException: Access denied for user 'myuser'@'host1.myco.com' (using password: YES)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) (all versions)
  • MySQL

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In