LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2009, 06:54 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
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...
 
Old 04-27-2009, 07:01 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Hi,

Don't crosspost/re-post!

In this thread you asked the same question.
 
Old 04-27-2009, 07:13 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Original Poster
Rep: Reputation: 55
hi..

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

please help me...

thanks in advance...
 
Old 04-27-2009, 07:19 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script to check whether mysql server is running or not vinaytp Linux - Newbie 3 01-18-2011 09:39 AM
LXer: Check Your Mysql Server Performance with MySQLTuner LXer Syndicated Linux News 0 11-22-2008 02:11 AM
Check wether a X server is running and ok johg Linux - Server 3 06-29-2008 02:32 PM
How to check uptime of all applications running in solris server rajaniyer123 Solaris / OpenSolaris 1 10-13-2007 12:37 AM
script to check instance of PHP & mySQL running on Unix platform kushalkoolwal Programming 7 04-26-2006 10:40 PM


All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration