mysql-server-5.0.19 mysql_install_db script problem

Kim Culhan w8hdkim at gmail.com
Wed Apr 5 09:52:32 UTC 2006


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/mysql ;
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 at gmail.com


More information about the freebsd-ports mailing list