MySQL Forums
Forum List  »  Connector/JDBC and Java

Failover when read only.
Posted by: neeraj reddy
Date: April 11, 2017 04:55PM

Hi,

I see that the current JDBC connection string with multiple hosts only fails when an error with code 08* is thrown on the current host.

If say you have a current host, that is online but read only then the driver does not fail over instead keeps throwing exceptions.

Is there a way to fail the host when it is set to read-only. ?

Options: ReplyQuote


Subject
Written By
Posted
Failover when read only.
April 11, 2017 04:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.