Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2006 05:52:30 -0400
From:      "Kim Culhan" <w8hdkim@gmail.com>
To:        ports@FreeBSD.org
Subject:   mysql-server-5.0.19 mysql_install_db script problem
Message-ID:  <89dbfdc30604050252u398829b0p16d30fceceec2c6a@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Greetings-

After an install then deinstall of mysql51-server it would appear
something has changed in the environment.

Now trying to install mysql50-server there is this problem:

The mysql_install_db script has:

# Create database directories mysql & test

if test ! -d $ldata; then mkdir $ldata; chmod 700 $ldata ; fi
  if test ! -d $ldata/mysql; then mkdir $ldata/mysql;  chmod 700 $ldata/mys=
ql ;
fi
  if test ! -d $ldata/test; then mkdir $ldata/test;  chmod 700 $ldata/test =
; fi
  if test -w / -a ! -z "$user"; then
    chown $user $ldata $ldata/mysql $ldata/test;
  fi

This should result in the directories being created then chown'd to mysql
but they're owned by root.

Any idea why this now fails to do the Right Thing ?

-kim

--
w8hdkim@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89dbfdc30604050252u398829b0p16d30fceceec2c6a>