com.mckoi.runtime.McKoiDBMain documentation

View: New views
2 Messages — Rating Filter:   Alert me  

com.mckoi.runtime.McKoiDBMain documentation

by duncang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,  is there any way to call this class and get a response  
indicating whether the server is running (or simply what is status is  ?

Alternately is there a way of checking a log file or some other thing  
to tell if the server is running

Thanks
Duncan


---------------------------------------------------------------
Mckoi SQL Database mailing list  http://www.mckoi.com/database/
To unsubscribe, send a message to mckoidb-unsubscribe@...


Re: com.mckoi.runtime.McKoiDBMain documentation

by Tobias Downer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

One way to do this is to connect to the server and run a simple query
such as 'show status'.  An error would indicate that the database server
is not running.

Toby.

Duncan Groenewald wrote:
> Hi,  is there any way to call this class and get a response  indicating
> whether the server is running (or simply what is status is  ?
>
> Alternately is there a way of checking a log file or some other thing  
> to tell if the server is running
>
> Thanks
> Duncan


---------------------------------------------------------------
Mckoi SQL Database mailing list  http://www.mckoi.com/database/
To unsubscribe, send a message to mckoidb-unsubscribe@...

LightInTheBox - Buy quality products at wholesale price