From 307c2140fd8caa1430323752608c1169e07926f4 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 17 Feb 2005 20:20:48 +0200 Subject: Fixed Bug#7873. --- support-files/mysql.server.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'support-files') diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index 849f913bf6c..892de3001d1 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -39,17 +39,20 @@ # If you want to affect other MySQL variables, you should make your changes # in the /etc/my.cnf, ~/.my.cnf or other MySQL configuration files. +# If you change base dir, you must also change datadir + basedir= +datadir= # The following variables are only set for letting mysql.server find things. # Set some defaults -datadir=@localstatedir@ pid_file= if test -z "$basedir" then basedir=@prefix@ bindir=@bindir@ + datadir=@localstatedir@ else bindir="$basedir/bin" fi -- cgit v1.2.1