At 7:01 PM -0500 9/17/99, Michael Widenius wrote:
>>>>>> "Alvin" == Alvin D Rezel
> <adrezel@stripped> writes:
>Alvin> What are the changes required to install mysql if you do
>not have root
>Alvin> access and have no permissions for /usr/local and you simply want
>Alvin> mysql in a directory in your home account (IE I'm a student using my
>Alvin> school's account and want to install it for a term project)
>Alvin> run this script without root access & no permissions to /usr/locaL
>You don't need to be root to run mysql_install_db or start mysqld.
>What happens if you do:
In theory, yes, you don't need to be root. But mysql_install_db
may want to create directories in places that you have no permissions
for. For instance, if /usr/local is the installation root,
mysql_install_db is likely to want to create /usr/local/var, which
an unprivileged user almost certainly cannot do.
This problem can be avoided by specifying --destdir=$HOME/mysql
or something when you configure MySQL, then everything will be
configured to live under your home directory and you'll be
able to create any necessary directories there.
Paul DuBois, paul@stripped