Mark Sargent wrote:

Hi All,

if this script is in scripts by default, why does it have the following code,

test -z "$ldata" && ldata=./data
if test -z "$basedir"
then
 basedir=.
 bindir=./bin
 execdir=./bin
 pkgdatadir=./support-files
else
 bindir="$basedir/bin"
 if test -x "$basedir/libexec/mysqld"
 then
   execdir="$basedir/libexec"
 elif test -x "$basedir/sbin/mysqld"
 then
   execdir="$basedir/sbin"
 else
   execdir="$basedir/bin"
 fi

where basedir=. as that would instruct the script to look for all dir's from within the script dir, not the mysql dir. Can anyone explain why this is so..? Cheers.

Mark Sargent.

Hi All,

does nobody understand why this is so.? I keep having to move the script to /usr/local/mysql to get it to run. That is just, well, weird. Anyone else out there using the tar.gz install and if so, could you confirm that your scripts/mysql_install_db code has the same thing.? Cheers.

Mark Sargent.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to