Skip to content

Why do I connect to a cluster endpoint when I connect to a read-only cluster endpoint? #195

Answered by sergiyvamz
lteawoo asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @lteawoo

You can use different URLs to connect to Aurora DB cluster nodes. If your application needs to connect to a reader node it may use either Aurora Reader Endpoint, or any Aurora Instance Endpoint (assuming that an endpoint is associated with a reader node). In either way, you application connects to a reader node. More details about Aurora endpoints is at https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Connecting.html#Aurora.Connecting.AuroraMySQL
and
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.Endpoints.html#Aurora.Overview.Endpoints.Types

AWS JDBC Driver for MySQL can recognize different endpoints provided in a connection…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hsuamz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants