开发者

Java + MySQL or LDAP Server Status

开发者 https://www.devze.com 2022-12-22 20:08 出处:网络
How can I check from Java is MySQL / LDA开发者_如何学编程P is running or not?Simply attempt a connection. In case the target servers aren\'t running, you will get, and catch an exception indicating th

How can I check from Java is MySQL / LDA开发者_如何学编程P is running or not?


Simply attempt a connection. In case the target servers aren't running, you will get, and catch an exception indicating this.

If you then don't want to use the connection, if successful, close() it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号