Access Keys:
Skip to content (Access Key - 0)









AccessControlException connecting to a MySQL database

Print this page

Question

I'm trying to connect to an external MySQL database. The following exception is thrown when I'm trying to get the connection.

WARN [resource.jdbc.connectionpool] database connection failed; will retry: java.sql.SQLException:
Unable to connect to any hosts due to exception: java.security.AccessControlException: access denied (java.net.SocketPermission
10.232.11.32:3306 connect,resolve)

Answer

Register/login to use all DevPortal features - Log in | Sign up )

Adaptavist Theme Builder Powered by Atlassian Confluence