On Mon, Jul 26, 2004 at 04:09:51PM -0400, Charles Sprickman wrote:
> 
> I have a quick question about how programs linked against the mysql C
> libraries handle the following:
> 
> -assume three mysql hosts, say 10.0.0.2, 10.0.0.3, and 10.0.0.4
> -assume a dns name "db.example.com" that returns the following:
>  [EMAIL PROTECTED] host db.example.com
>  db.example.com has address 10.0.0.2
>  db.example.com has address 10.0.0.3
>  db.example.com has address 10.0.0.4
> 
> If my client program repeatedly connects to "db.example.com" and my
> nameserver round-robins through those IPs, will the client also keep
> cycling through those?  What is the behaviour if one of those hosts does
> not respond?  Will the client application then try the next one?

The MySQL C client libarary doesn't treat this case specially.

Jeremy
-- 
Jeremy D. Zawodny     |  Perl, Web, MySQL, Linux Magazine, Yahoo!
<[EMAIL PROTECTED]>  |  http://jeremy.zawodny.com/

[book] High Performance MySQL -- http://highperformancemysql.com/

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to