Loading scripts/safe_mysqld.sh +2 −1 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ parse_arguments() { --datadir=*) DATADIR=`echo "$arg" | sed -e "s;--datadir=;;"` ;; --pid-file=*) pid_file=`echo "$arg" | sed -e "s;--pid-file=;;"` ;; --socket=*) MYSQL_UNIX_PORT=`echo "$arg" | sed -e "s;--socket=;;"` ;; --port=*) MYSQL_TCP_PORT=`echo "$arg" | sed -e "s;--socket=;;"` ;; --log=*) log=`echo "$arg" | sed -e "s;--log=;;"` ;; --err-log=*) err_log=`echo "$arg" | sed -e "s;--err-log=;;"` ;; --basedir=*) MY_BASEDIR_VERSION=`echo "$arg" | sed -e "s;--basedir=;;"` ;; Loading Loading @@ -95,7 +96,7 @@ else fi export MYSQL_UNIX_PORT #export MYSQL_TCP_PORT export MYSQL_TCP_PORT touch $err_log; chown $user $err_log # Loading Loading
scripts/safe_mysqld.sh +2 −1 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ parse_arguments() { --datadir=*) DATADIR=`echo "$arg" | sed -e "s;--datadir=;;"` ;; --pid-file=*) pid_file=`echo "$arg" | sed -e "s;--pid-file=;;"` ;; --socket=*) MYSQL_UNIX_PORT=`echo "$arg" | sed -e "s;--socket=;;"` ;; --port=*) MYSQL_TCP_PORT=`echo "$arg" | sed -e "s;--socket=;;"` ;; --log=*) log=`echo "$arg" | sed -e "s;--log=;;"` ;; --err-log=*) err_log=`echo "$arg" | sed -e "s;--err-log=;;"` ;; --basedir=*) MY_BASEDIR_VERSION=`echo "$arg" | sed -e "s;--basedir=;;"` ;; Loading Loading @@ -95,7 +96,7 @@ else fi export MYSQL_UNIX_PORT #export MYSQL_TCP_PORT export MYSQL_TCP_PORT touch $err_log; chown $user $err_log # Loading