MySQL Forums
Forum List  »  Router & Proxy

MySQL Proxy along Lua Script
Posted by: Irfan Ali
Date: April 24, 2008 01:36AM

Hi,

I tested MySQL Proxy by this scenarios which are stated under. However to connect to MySQL Server 4040 is used as administrative port and port 4041 to check MySQL proxy statistics.

mysql-proxy --proxy-backend-addresses=localhost:3306 --proxy-backend-addresses=localhost:3307

Now i want to connect three different database server's in round robin fashin along with the help of lua script. and i don't know lua script. Is any one can help me out in this by providing lua script? For example i want to connect as mysql1, mysql2, mysql3 and again it should connect mysql1 and so on for the next connection.

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL Proxy along Lua Script
2941
April 24, 2008 01:36AM


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.