diff options
Diffstat (limited to 'mysql.init')
-rw-r--r-- | mysql.init | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 ;; |