You can use int-mysql.domain.com - this subdomain points to all mysql instances (master + slaves) or only to one instance if only master is running.
On Aug 27, 8:30 pm, MartinB <[email protected]> wrote: > Hi, > I have my farm that is configured to have 1 to 4 DB instance running. > So by default, only one DB instance is running. I was updating my PHP > Web app to connect to the slave so I thought I'd connect to int-mysql- > slave.domain.com only to found out it wasn't present.. > > It wasn't present until I started more DB instances.. so my question > is to which DNS entry should I point my 'slave' connection string so > that it works when I only have 1 DB instance too ? > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
