Joanne Yow [bizfront] schrieb:


I am trying to install MySQL 3.23 to Solaris 2.8.
After the step -> scripts/mysql_install_db
I try the command -> chown -R root, error show "usage: chown [-fhR] owner[:group] 
file..."
and the command -> chrgrp -R mysql, error show "chgrp [-fhR] group file..."


$ man chown
$ man chgrp

you would do something like this ?

# chown -R mysql:mysql /path/to/your/file_or_directory


oops,


file:///usr/share/doc/mysql-3.23.56/manual.html

shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db
shell> chown -R root  .
shell> chown -R mysql data
shell> chgrp -R mysql .
shell> bin/safe_mysqld --user=mysql &
or
shell> bin/mysqld_safe --user=mysql &
if you are running MySQL 4.x


-- shrek-m


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



Reply via email to