diff options
author | unknown <monty@donna.mysql.com> | 2000-08-30 23:58:23 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-08-30 23:58:23 +0300 |
commit | adc0c1b2e0afb706cd03ee4e647c77bb0ec54fe1 (patch) | |
tree | 804cdfa7ebc4b2e10b483c0397bc56ab5d430d13 /scripts | |
parent | ff4787a78baf12427faf14155e6babd1a1b364ce (diff) | |
download | mariadb-git-adc0c1b2e0afb706cd03ee4e647c77bb0ec54fe1.tar.gz |
Added --port to safe_mysqld
scripts/safe_mysqld.sh:
Added --port
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/safe_mysqld.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/safe_mysqld.sh b/scripts/safe_mysqld.sh index c2da0f2ea73..55147a84852 100755 --- a/scripts/safe_mysqld.sh +++ b/scripts/safe_mysqld.sh @@ -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=;;"` ;; @@ -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 # |