diff options
author | unknown <jani@ua141d10.elisa.omakaista.fi> | 2005-02-17 20:20:48 +0200 |
---|---|---|
committer | unknown <jani@ua141d10.elisa.omakaista.fi> | 2005-02-17 20:20:48 +0200 |
commit | c148fa4b457a0e1a80720d160f0b629e7c8e9339 (patch) | |
tree | db3b15d9ee4126defeb267d8743fff1a594e814e /support-files | |
parent | ba18aa89e66efd0ccb46b7e45001111aedd8b0aa (diff) | |
download | mariadb-git-c148fa4b457a0e1a80720d160f0b629e7c8e9339.tar.gz |
Fixed Bug#7873.
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.server.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 |