[erlang-questions] Emysql: Switch to Redundant MySQl DB connection When Primary Mysql DB down

Éric Pailleau <>
Sun May 10 10:09:06 CEST 2015


Hi,
I suppose you can use the pool functionality :

https://github.com/Eonblast/Emysql/blob/master/README.md#Samples

Regards

Le 10 mai 2015 09:38, Sanath Prasanna <> a écrit :
>
> Any comment on below requirement?
>
> On Sat, May 9, 2015 at 4:33 PM, Sanath Prasanna <> wrote:
>>
>> 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
>
>


More information about the erlang-questions mailing list