MySQL Forums
Forum List  »  Router & Proxy

Mysql proxy not working when slave server stops
Posted by: Gautam Prashant
Date: February 26, 2012 09:35AM


I have mysql proxy setup between a master-slave configuration. Whenever I stop the slave server, mysql proxy stops working. Below is my configuration:

daemon = true
keepalive = true
proxy-address =

# db0
proxy-backend-addresses =

# db1
proxy-backend-addresses =

mysql-proxy.conf (END)

Mysql proxy starts using the below given script:

/mysql_proxy/mysqlproxy/libexec/mysql-proxy --defaults-file=/mysql_proxy/mysqlproxy/mysql-proxy.conf

The error when the slave server stops is:

(proxy) all backends are down

Pl. note that when master server stops, the proxy works correctly. However, its only when the slave server is down, proxy server stops working.

Let me know what exactly the issue is.


Edited 1 time(s). Last edit at 02/26/2012 03:27AM by Gautam Prashant.

Options: ReplyQuote

Written By
Mysql proxy not working when slave server stops
February 26, 2012 09:35AM

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.