Plans for funneling through MySQL Proxy?

Asked by Rafael de la Torre

Hi all,

I'm pretty new to MySQL and even more to the MySQL Proxy. I've been playing with it for a while to see if it can fulfill our testing needs.

After diving into forums/documentation/source I think the proxy creates different connections (and maybe different threads) when different clients try connect to the same database. Can you please confirm that?

The use case I have in mind is to make a set of SQL queries go through the same connection within the scope of a single transaction, thus being able to revert quickly (almost) any change made to the DB from several different clients. I think "funneling" is the right term to describe that.

Do you think it's possible to achieve the mentioned behavior with a Lua script? How? If not, are there any plans to allow funneling through a single connection to a backend server?

Any help will be more than welcome.

Thanks
--Rafa

Question information

Language:
English Edit question
Status:
Solved
For:
MySQL Proxy Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Kneschke
Solved:
Last query:
Last reply:
Revision history for this message
Best Jan Kneschke (jan-kneschke) said :
#1
Revision history for this message
Rafael de la Torre (rtorre) said :
#2

Thanks Jan,

I'm going to contact funnel plugin developers to get further information.

Regards
--Rafa

Revision history for this message
Rafael de la Torre (rtorre) said :
#3

Thanks Jan Kneschke, that solved my question.