MySQL Forums
Forum List  »  Router & Proxy

Re: Multiple 'proxy-address' statements?
Posted by: Chris Calender
Date: May 04, 2010 05:47PM

I'm not so sure this would be possible with only a single proxy, as you can only have one address for --proxy-address.

However, I don't see why you couldn't daisy-chain two proxies together to accomplish this.

Assuming your mysql instance runs on port 13306, then I'm envisioning something like the following:

Proxy #1:
--proxy-address=/path/to/mysql.sock
--proxy-backend-addresses=localhost:13306

Proxy #2:
--proxy-address=127.0.0.1:3306
--proxy-backend-addresses=/path/to/mysql.sock

Or you could do it in the reverse order. And note that I've not tested this out though, so you'll want to do that.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Multiple 'proxy-address' statements?
3724
May 04, 2010 05:47PM


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.