V
V
Victor2016-11-13 14:23:51
MySQL
Victor, 2016-11-13 14:23:51

How can you proxy sql queries?

We need some kind of tool that could proxy sql requests from clients to the mysql server, and if an error came from the server, then it sent the same request to another sql server.
Also interesting, but not critical, is the issue of supporting ssl encrypted connections by this proxy.
Now I use haproxy in a similar role, it has a mechanism that polls the servers and excludes from the list those that did not answer correctly. But instead of checking the health of the server every second, I just want to process the error code and if it arose, do not refuse the client, but simply try to execute the same request on another server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2016-11-13
@sim3x

nginx is able to proxy tcp
in the paid version has ballance and re-request to another back

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question