From 3cbea88e8e54e9af560bfeadf99428bd3fe5544f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 10 Nov 2010 18:13:56 +0100 Subject: MySQL 5.5.7 RC --- mysql.init | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mysql.init') diff --git a/mysql.init b/mysql.init index 1661f3b..81b1f85 100644 --- a/mysql.init +++ b/mysql.init @@ -89,6 +89,10 @@ start(){ fi chown mysql:mysql "$datadir" chmod 0755 "$datadir" + # If startsos + if [ "$1" = "sos" ] ; then + exec="$exec --skip-grant-tables --skip-networking" + fi # Pass all the options determined above, to ensure consistent behavior. # In many cases mysqld_safe would arrive at the same conclusions anyway # but we need to be sure. (An exception is that we don't force the @@ -183,6 +187,9 @@ case "$1" in start) start ;; + startsos) + start sos + ;; stop) stop ;; -- cgit