Failed to connect to database: Access denied for user – Database Console SSL configuration unresolved
0 reputation · 06 Aug 2023, 12:59 UTC
0 reputation · 06 Aug 2023, 12:59 UTC
The IntelliJ IDEA Database Console displays the error "Failed to connect to database: Access denied for user" when the supplied username or password does not match the database’s credentials or is omitted entirely. This message is documented and appears consistently across recent releases.
When a target database is configured to require SSL, the Database Console does not automatically prompt for SSL settings. Instead, IntelliJ shows a warning that an SSL connection is not configured but still attempts the connection, potentially leading to insecure traffic or a failed handshake.
There is no documented automatic wizard that guides users to enable SSL during the connection setup, and the decision to enforce SSL configuration remains unresolved in the current IntelliJ releases.
To clarify the behavior, the following questions need to be answered:
A thoughtful contribution can make all the difference. Be the first to share one.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.