Dear All

Here is a quick / obvious hack to supportfiles/mysql.server.sh to add
restart command.

I added this as I sometimes do a hard restart, and thought it may be of
use to others.

Can this be patched to the one in the source by someone with CVS rights
- it should not break anything ;-)

Greg


--- mysql.server.sh.bak Thu Jan 25 15:23:38 2001
+++ mysql.server.sh     Thu Jan 25 15:29:50 2001
@@ -147,9 +147,14 @@
     fi
     ;;
 
+  'restart')
+    $0 stop
+    $0 start
+    ;;
+
   *)
     # usage
-    echo "usage: $0 start|stop"
+    echo "usage: $0 start|stop|restart"
     exit 1
     ;;
 esac

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to