Re: MySQLConnector 5.1.39 - connection.getSlavesConnection() returning masterConnection
Posted by: Filipe Silva
Date: June 29, 2016 03:22AM

No, it's not a bug. There are a few connection properties that affects how master(s) and slave(s) are used or allowed to be used in a replication connection, but the common case is to forward read-write connections to the masters and read-only to the slaves. Please consult the documentation for more details (https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-master-slave-replication-connection.html)

Options: ReplyQuote




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.