Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQL-server

 
Henk Rog
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a method to check if an SQL-server is running?
 
Christian Wolf
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a method to check if an SQL-server is running?
*g* Sure. The same method as with every server. Try to connect to it. Either it fails (timeout) or you get a response from the server.
Christian Wolf
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
moving this to the JDBC forum
(even though I'm pretty sure Christian gave you the best answer -- just be sure to check for an exception to come back!)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic