summaryrefslogtreecommitdiff
path: root/scripts/mysqld_safe.sh
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2004-01-15 16:14:30 +0100
committerunknown <lenz@mysql.com>2004-01-15 16:14:30 +0100
commit81e869bcf2dd2d4a4d534e2fc73a85a906cc5e4e (patch)
treeedb38c0c436c4beabc65041228db5fcc6728afae /scripts/mysqld_safe.sh
parentb3e6fb8bea7523a78541faaeef0b7fe561c2009e (diff)
downloadmariadb-git-81e869bcf2dd2d4a4d534e2fc73a85a906cc5e4e.tar.gz
- fixed early removing of socket file when multiple instances of mysqld are
started via mysqld_safe (BUG#2114) Thanks to Rodrigo Marchant for the suggestion scripts/mysqld_safe.sh: - fixed early removing of socket file when multiple instances of mysqld are started via the script (BUG#2114) Thanks to Rodrigo Marchant for the suggestion
Diffstat (limited to 'scripts/mysqld_safe.sh')
-rw-r--r--scripts/mysqld_safe.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh
index 5d77863c9b4..0f415ccd5f0 100644
--- a/scripts/mysqld_safe.sh
+++ b/scripts/mysqld_safe.sh
@@ -115,7 +115,6 @@ else
ledir=@libexecdir@
fi
-safe_mysql_unix_port=${mysql_unix_port:-${MYSQL_UNIX_PORT:-@MYSQL_UNIX_ADDR@}}
user=@MYSQLD_USER@
niceness=0
@@ -155,6 +154,7 @@ then
fi
parse_arguments `$print_defaults --loose-verbose $defaults mysqld_safe safe_mysqld`
parse_arguments PICK-ARGS-FROM-ARGV "$@"
+safe_mysql_unix_port=${mysql_unix_port:-${MYSQL_UNIX_PORT:-@MYSQL_UNIX_ADDR@}}
if test ! -x $ledir/$MYSQLD
then