Cluster Endpoint jdbc:mysql:aws vs jdbc:mysql #359
-
Is there any benefit or drawback to use jdbc:mysql:aws vs jdbc:mysql in the Cluster Endpoint jdbc:mysql:aws://db-identifier.cluster-XYZ.us-east-2.rds.amazonaws.com:3306 Both works.. no issues. In another discussion, I see below. #181 "the AWS JDBC Driver for MySQL only supports failover functionality for the "jdbc:mysql:aws://" protocol." If I user "jdbc:mysql", does it not failover smoothly ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @narayananl23, there will be no failover functionality when using the "jdbc:mysql" protocol. |
Beta Was this translation helpful? Give feedback.
-
@narayananl23 The way that DriverManager works if you use |
Beta Was this translation helpful? Give feedback.
Hi @narayananl23, there will be no failover functionality when using the "jdbc:mysql" protocol.
The driver behaves in the exact same way as the community MySQL driver when using the
jdbc:mysql
protocol.