[EMAIL PROTECTED] wrote:
:>Description:
:  ./configure --help
:claims that the default value of localstatedir is PREFIX/var, but
:after setting --prefix it appears to be still pointing to '/var'.
:
:>How-To-Repeat:
:  ./configure --prefix=/opt/mysql-3.23.44
:  make
:  make install
:  ./scripts/mysql_install_db
:mkdir: cannot create directory `/var/lib/mysql/mysql': Permission denied
:chmod: getting attributes of `/var/lib/mysql/mysql': No such file or directory
:mkdir: cannot create directory `/var/lib/mysql/test': Permission denied
:chmod: getting attributes of `/var/lib/mysql/test': No such file or directory
:[etc]
:
:>Fix:
:  additionally set --localstatedir on the configure line, I guess.

No, that didn't work. After:
  /configure --prefix=/opt/mysql-3.23.44 --localstatedir=/opt/mysql-3.23.44/var
  make
  make install
I get:
crypt.org% /opt/mysql-3.23.44/bin/my_print_defaults mysqld mysql_install_db
--datadir=/var/lib/mysql
--socket=/var/lib/mysql/mysql.sock
crypt.org% 

.. so now I don't know.

Hugo

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to