MySQL Forums
Forum List  »  Router & Proxy

HowTo: New connection on read_query
Posted by: Christopher Hubrich
Date: August 08, 2007 02:21AM

Hi,

how to create a new connection from the proxy to backend in a read_query?

-- pick a slave which has no idling connections
if s.type == proxy.BACKEND_TYPE_RO and
s.idling_connections == 0 then
--something here
end

Options: ReplyQuote


Subject
Views
Written By
Posted
HowTo: New connection on read_query
4101
August 08, 2007 02:21AM


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.