Would it be possible to implement a function that checks the connection to a db sever if it is reachable or not ?
I am working with a lot of different servers in my solution ( local & web based ) and have the problem that sometimes some servers are not reachable, wich could be critical for some methods.
I would like to see a new function like:
check_dbserver.NAME
possible results = 0 and 1
0 = Server not reachable
1 = connection established
It would be used like this…
if ( check_dbserver.MYSQL_ONLINE = 0)
{ return “Error - Server not respondig”;
}
else
{ ..rest of the method…
}
Rainer