LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   to check whether mysql server is running (https://www.linuxquestions.org/questions/linux-newbie-8/to-check-whether-mysql-server-is-running-721960/)

vinaytp 04-27-2009 05:54 AM

to check whether mysql server is running
 
hi all...

nmap localhost will tell whether mysql server is running or not but how to check it inside the if statement..

after checking in if i need to tell the user to stop the server if the server is running...

can anyone please help me.....i am trying this from today morning...

thanks in advance...

druuna 04-27-2009 06:01 AM

Hi,

Don't crosspost/re-post!

In this thread you asked the same question.

vinaytp 04-27-2009 06:13 AM

hi..

But i did not got any solution to my problem in previous post....

please help me...

thanks in advance...

druuna 04-27-2009 06:19 AM

It is against the rules, pointless and rude!

If all people that don't get an answer within a few hours did this we would have millions of double/triple/quadruple/.....) posts.

Bump your original post if you have to (and wait at least 24 hours before doing so), but never start a new thread with the same question.


All times are GMT -5. The time now is 06:49 PM.