Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

Failover when read only. (1 reply)

$
0
0
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. ?

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>