diff options
author | monty@donna.mysql.com <> | 2000-11-27 02:28:41 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-11-27 02:28:41 +0200 |
commit | dc5e32ea40b435c13cb2d9c03e465743aff14b51 (patch) | |
tree | edb54aec005b494e1195e3b4c62ef7b81153a705 /support-files/mysql.server.sh | |
parent | 8e3322098ac94687ab13aec1a09e8ed2ce93ef9c (diff) | |
download | mariadb-git-dc5e32ea40b435c13cb2d9c03e465743aff14b51.tar.gz |
Added connect_timeout and fix for transactions per statement
Diffstat (limited to 'support-files/mysql.server.sh')
-rw-r--r-- | support-files/mysql.server.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index 2663ab36b66..b28cff66b24 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -83,6 +83,11 @@ case "$mode" in # be overwritten at next upgrade. $bindir/safe_mysqld \ --datadir=$datadir --pid-file=$pid_file & + # Make lock for RedHat / SuSE + if test -d /var/lock/subsys + then + touch /var/lock/subsys/mysql + fi else echo "Can't execute $bindir/safe_mysqld" fi @@ -109,6 +114,11 @@ case "$mode" in elif [ -n "$flags" ] then echo " done" fi + # delete lock for RedHat / SuSE + if test -d /var/lock/subsys + then + rm /var/lock/subsys/mysql + fi else echo "No mysqld pid file found. Looked for $pid_file." fi |