Quickly find out if database is available
Devin Asay
devin_asay at byu.edu
Fri Jul 15 12:26:14 EDT 2005
Ton,
This is sort of indirect but might work. Is there also a web server
running on these servers? If so, you could do a simple get URL on the
IP address, which should tell you very quickly whether the server is
running or not.
Devin
On Jul 15, 2005, at 5:10 AM, Ton Kuypers wrote:
> Hi,
>
> Is there a way to find out if there is a mySQL database on a
> specific ip-address?
>
> The question seems strange, but the reason is obvious: I have a
> mySQL database running on 2 servers and if the primary is not
> running, I need to switch to the second one.
> I can try to open a connection to the first one and on failure try
> to open the second one, but due to the timeout of this "try to
> connect" action, this takes to long.
>
> I need to to do this using OS9, OSx and Windows application...
>
>
> Warm regards,
>
>
> Ton Kuypers
> Digital Media Partners bvba
> Tel. +32 (0)477 / 739 530
> Fax +32 (0)14 / 71 03 04
> http://www.dmp-int.com
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
More information about the use-livecode
mailing list