MySQL Forums
Forum List  »  Router & Proxy

Re: What about slaves delay ?
Posted by: Jan Kneschke
Date: July 09, 2007 03:15AM

See to the examples to know which backends we are connected too.

In connect_server you return a index into backend-list. You can ask for all backends in the connect_server and print you the connect information. You can map it against your external file and just not connect to the delayed server.

You current connection is at:

proxy.connection
.default_db
.thread_id
.server_version
.backend_ndx

All connections are at

proxy.servers[0]
.connected_clients
.address
.state (UP|DOWN)
.type (RW|RO)

Jan

Options: ReplyQuote


Subject
Views
Written By
Posted
4764
July 06, 2007 05:41AM
2811
July 06, 2007 07:51AM
2528
July 06, 2007 08:22AM
2557
July 06, 2007 12:21PM
Re: What about slaves delay ?
2812
July 09, 2007 03:15AM


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.