[erlang-questions] Emysql: Switch to Redundant MySQl DB connection When Primary Mysql DB down
Sun May 10 12:00:17 CEST 2015
Tx for info. However my program run in server A. My DB run on server B &
Server C. (master-master) I need to add 2 database to connection pool.
if one db down (Say Server B) , then prohram need to refer Server C
connection. automatically through emysql.That is my requirement.
On Sun, May 10, 2015 at 1:39 PM, Éric Pailleau <eric.pailleau@REDACTED>
> I suppose you can use the pool functionality :
> Le 10 mai 2015 09:38, Sanath Prasanna <ahe.sanath@REDACTED> a écrit :
> > Any comment on below requirement?
> > On Sat, May 9, 2015 at 4:33 PM, Sanath Prasanna <ahe.sanath@REDACTED>
> >> Hi all,
> >> Pls let me know how to implement logic using emysql to switch from
> Active MySQL DB to Redundant MySQL DB instance.
> >> I have 2 Mysql DB Instance - Master-Master in 2 servers.
> >> Br,
> >> Sana Jonson
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions