MySQL Forums
Forum List  »  Router & Proxy

proxy_connection_set in read_query()
Posted by: Reinis Rozitis
Date: July 20, 2007 01:39AM

Just a quick question (before trying it actually out).

Is it possible to switch backend ( use proxy_connection_set() ) in read_query stage instead of connect_server() or is this something to be implemented yet?


To be simple its the same question as "Can we switch backend servers based on query types/tables/whatever (within the lua)?"

This sample only prints out the server change http://svn.mysql.com/svnpublic/mysql-proxy/trunk/examples/tutorial-keepalive.lua

Options: ReplyQuote


Subject
Views
Written By
Posted
proxy_connection_set in read_query()
3691
July 20, 2007 01:39AM


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.