williamhughesDOTnet
  • Home
  • Referral
williamhughesDOTnet
  • Home/
  • Referral/
williamhughesDOTnet

IT and Technical consultations.

Blog-old

williamhughesDOTnet
  • Home/
  • Referral/
March 22, 2006

Restart mysql if dead

March 22, 2006/ Will Hughes

agdb1:/var/lib/mysqlbackup # vi /usr/bin/restartsql
#!/bin/sh
# filed named killbill
# set -x
TEST=0
TEST=`ps ax | grep mysqld | grep -v grep | wc -l`
if [ $TEST = 0 ] ; then
rcmysql start
fi
exit 0

March 22, 2006/ Will Hughes/ Comment
Really Geeky Stuff

Will Hughes

  • Email Drive Freespace
  • Linux Server Setup
  • Home/
  • Referral/

williamhughesDOTnet

At Hughes Technical Solutions, we take great pride in providing knowledgable and courteous resolutions to your most troublesome technical dilemmas. We have vast experience in supporting businesses and home offices through the minefield that is today's technology. With over 20 years of experience, our goal is to provide our clients with top notch, easy to understand solutions, to technology's most complicated issues. 

Tell us what you think!

We are constantly working to raise the bar on our services. If you have any questions or concerns about your experience, please let us know. 

William
will@williamhughes.net

Powered by Squarespace.