From c06225f700c7cf52592a4750f3514f8302e54dc9 Mon Sep 17 00:00:00 2001 From: "hery.ramilison@oracle.com" <> Date: Thu, 17 Nov 2011 09:13:43 +0100 Subject: fix for bug 11748060/34981 --- scripts/mysqld_safe.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh index a537bf27aad..0d2045a65a6 100644 --- a/scripts/mysqld_safe.sh +++ b/scripts/mysqld_safe.sh @@ -464,6 +464,9 @@ export MYSQL_HOME if test -x "$MY_BASEDIR_VERSION/bin/my_print_defaults" then print_defaults="$MY_BASEDIR_VERSION/bin/my_print_defaults" +elif test -x `dirname $0`/my_print_defaults +then + print_defaults="`dirname $0`/my_print_defaults" elif test -x ./bin/my_print_defaults then print_defaults="./bin/my_print_defaults" -- cgit v1.2.1