MySQL Forums
Forum List  »  Router & Proxy

Re: proxy-address used to set an unix socket
Posted by: Diego Medina
Date: April 29, 2008 09:42PM

Hi,

I use Fedora and this init script http://forge.mysql.com/wiki/MySQL_Proxy_init

to run mysql proxy as a service, I did add one more line so that you can run

service mysql-proxy stop
and it will remove the sock file

right after the line:
                rm -f $PROXY_PID
Add
#remove socket file
rm -f /tmp/mysql.sock

I still have a problem where I need to run "service mysql-proxyd stop" before I restart my server, otherwise the socket file will not be remove, but I'm sure I am just missing some small step.

Diego Medina
Web Developer
http://www.fmpwizard.com

P.S. Please read this post if you are going to post code

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: proxy-address used to set an unix socket
3076
April 29, 2008 09:42PM


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.