MySQL Forums
Forum List  »  Router & Proxy

proxy-address used to set an unix socket
Posted by: Olivier Le Cam
Date: April 23, 2008 01:52AM

Hi -

Using the "proxy-address" option to provide an unix socket the client can bind to works just fine, except that:

1. The socket file is created with restricted rights (srwxr-xr-x). It prevents any (non-root) users to bind to which is a bit annoying. I can manage a "chmod 777" from my init script to correct this but I wonder if it is really the best way to deal with this problem.

2. The socket file is not removed when mysql-proxy exits which must be manually removed before starting again mysql-proxy. Shouldn't it be rm'ed by mysql-proxy itself at exit to get rid of that problem?

Thanks in anticipation for your comments and for that really great software!

--
Olivier Le Cam

Options: ReplyQuote


Subject
Views
Written By
Posted
proxy-address used to set an unix socket
5463
April 23, 2008 01:52AM


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.