Mysql-proxy Load Balancing doesn't work
I tried mysql-proxy 0.8.2 epel6 on Centos 6.3.
There are 2 backend behind mysql-proxy and 1 webserver to test mysql-query with simple read php.
I want to use simple load balance read query on 2 backend. I tried default configuration without lua script.
When I use wireshark to analyze the traffic, all mysql query and connect only go to one backend.
The issue keep remain even I use balance.lua, all connection only go to one backend.
This is my running configuration.
mysql-proxy --plugins=proxy -P 192.168.1.2:3306 -b 192.168.1.3:3306 -b 192.168.1.4:3306 --log-file=
Any advice?
Thanks
Fendi
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- MySQL Proxy Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Fendi for more information if necessary.