aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql60-server
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2002-11-11 04:28:07 +0800
committerdirk <dirk@FreeBSD.org>2002-11-11 04:28:07 +0800
commitd8e0c41766544f863831567776f2b5838248bb5c (patch)
tree4a652af6d1997f20bfe4c768114f583cecf272a6 /databases/mysql60-server
parentf57c71b1ef568c1b83c4a908b941a12c8dfed1b2 (diff)
downloadfreebsd-ports-graphics-d8e0c41766544f863831567776f2b5838248bb5c.tar.gz
freebsd-ports-graphics-d8e0c41766544f863831567776f2b5838248bb5c.tar.zst
freebsd-ports-graphics-d8e0c41766544f863831567776f2b5838248bb5c.zip
Only kill mysqld we started. Don't kill all mysqld.
Submitted by: Submitted by: sobomax (modified by me a bit)
Diffstat (limited to 'databases/mysql60-server')
-rw-r--r--databases/mysql60-server/files/patch-af16
1 files changed, 12 insertions, 4 deletions
diff --git a/databases/mysql60-server/files/patch-af b/databases/mysql60-server/files/patch-af
index 238e8b2d711..8d2d1003f2e 100644
--- a/databases/mysql60-server/files/patch-af
+++ b/databases/mysql60-server/files/patch-af
@@ -1,5 +1,5 @@
---- scripts/safe_mysqld.sh.orig Mon Jun 3 12:39:02 2002
-+++ scripts/safe_mysqld.sh Mon Jun 17 19:07:26 2002
+--- scripts/safe_mysqld.sh.orig Thu Oct 10 12:17:29 2002
++++ scripts/safe_mysqld.sh Sun Nov 10 21:27:46 2002
@@ -68,30 +68,9 @@
done
}
@@ -34,7 +34,15 @@
MYSQL_UNIX_PORT=${MYSQL_UNIX_PORT:-@MYSQL_UNIX_ADDR@}
MYSQL_TCP_PORT=${MYSQL_TCP_PORT:-@MYSQL_TCP_PORT@}
-@@ -239,34 +218,6 @@
+@@ -106,7 +85,6 @@
+ fi
+
+ # these rely on $DATADIR by default, so we'll set them later on
+-pid_file=
+ err_log=
+ SET_USER=0
+
+@@ -239,34 +217,6 @@
if test ! -f $pid_file # This is removed if normal shutdown
then
break
@@ -68,4 +76,4 @@
- done
fi
- echo "`date +'%y%m%d %H:%M:%S mysqld restarted'`" | tee -a $err_log
+ echo "`date +'%y%m%d %H:%M:%S'` mysqld restarted" | tee -a $err_log