MySQL Forums
Forum List  »  Router & Proxy

MySQL proxy Issue in load balancing
Posted by: sujeet singh
Date: January 18, 2016 12:44PM

I have installed MySQL-Proxy (mysql-proxy-0.8.5-windows-x86-32bit) on my windows server (64 Bit Windows Server 2008 R2) and have tried to do the roud-robin load balancing. For this is have provided two proxy-backend-addresses in the configuration file but I have observed that It only connect the first mysql server and did not forward the load on the second mysql server.

I am also not able to connect the proxy admin. I provide the following command to connect the proxy admin:

`mysql -h -u admin -p admin -P 4041`

Below is mysql-proxy configuration files. I run the mysql-proxy on the DOS command prompt using the following command:

`mysql -uroot -p -P 4040`

mysql-proxy configuration files:

--log-file="C:\Program Files\MySQL\mysql-proxy\log\mysql-proxy.log"
--admin-lua-script="C:\Program Files\MySQL\mysql-proxy\lib\mysql-proxy\lua\admin.lua"
--proxy-lua-script="C:\Program Files\MySQL\mysql-proxy\lib\mysql-proxy\lua\proxy\rw-splitting.lua"

Can anyone please help on this and suggest where I did mistake.

Options: ReplyQuote

Written By
MySQL proxy Issue in load balancing
January 18, 2016 12:44PM

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.