diff options
author | Alex Dupre <ale@FreeBSD.org> | 2007-12-12 09:09:53 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2007-12-12 09:09:53 +0000 |
commit | 6b6fb34f83331cdd32da5c54f0546e869597911a (patch) | |
tree | c4560bf63a9dada9fcdb11949fb71f12c7b4c6cf /databases/mysql50-server/files/patch-scripts_mysqld_safe.sh | |
parent | - Add rc.d script (diff) |
Backport a couple of small enhancement from mysql 5.1 port.
Notes
Notes:
svn path=/head/; revision=203204
Diffstat (limited to 'databases/mysql50-server/files/patch-scripts_mysqld_safe.sh')
-rw-r--r-- | databases/mysql50-server/files/patch-scripts_mysqld_safe.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/mysql50-server/files/patch-scripts_mysqld_safe.sh b/databases/mysql50-server/files/patch-scripts_mysqld_safe.sh new file mode 100644 index 000000000000..960a8458d37a --- /dev/null +++ b/databases/mysql50-server/files/patch-scripts_mysqld_safe.sh @@ -0,0 +1,24 @@ +--- scripts/mysqld_safe.sh.orig 2007-12-12 10:04:16.000000000 +0100 ++++ scripts/mysqld_safe.sh 2007-12-12 10:04:52.000000000 +0100 +@@ -152,10 +152,10 @@ + + if test -z "$MYSQL_HOME" + then +- if test -r "$MY_BASEDIR_VERSION/my.cnf" && test -r "$DATADIR/my.cnf" ++ if test -r "$MY_BASEDIR_VERSION/etc/my.cnf" && test -r "$DATADIR/my.cnf" + then + echo "WARNING: Found two instances of my.cnf -" +- echo "$MY_BASEDIR_VERSION/my.cnf and" ++ echo "$MY_BASEDIR_VERSION/etc/my.cnf and" + echo "$DATADIR/my.cnf" + echo "IGNORING $DATADIR/my.cnf" + echo +@@ -163,7 +163,7 @@ + elif test -r "$DATADIR/my.cnf" + then + echo "WARNING: Found $DATADIR/my.cnf" +- echo "Datadir is deprecated place for my.cnf, please move it to $MY_BASEDIR_VERSION" ++ echo "Datadir is deprecated place for my.cnf, please move it to $MY_BASEDIR_VERSION/etc" + echo + MYSQL_HOME=$DATADIR + else |