Commit b9bd561d authored by unknown's avatar unknown

manual.texi fixed chown issue


Docs/manual.texi:
  fixed chown issue
parent 78e95366
...@@ -5228,7 +5228,8 @@ shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf - ...@@ -5228,7 +5228,8 @@ shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s mysql-VERSION-OS mysql shell> ln -s mysql-VERSION-OS mysql
shell> cd mysql shell> cd mysql
shell> scripts/mysql_install_db shell> scripts/mysql_install_db
shell> chown -R mysql /usr/local/mysql shell> chown -R root /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/var
shell> chgrp -R mysql /usr/local/mysql shell> chgrp -R mysql /usr/local/mysql
shell> bin/safe_mysqld --user=mysql & shell> bin/safe_mysqld --user=mysql &
@end example @end example
...@@ -5348,17 +5349,19 @@ Note that @strong{MySQL} versions older than Version 3.22.10 started the ...@@ -5348,17 +5349,19 @@ Note that @strong{MySQL} versions older than Version 3.22.10 started the
longer true! longer true!
@item @item
Change ownership of the installation directory to the user that you will Change ownership of binaries to @code{root} and ownership of the data
run @code{mysqld} as: directory to the user that you will run @code{mysqld} as:
@example @example
shell> chown -R mysql /usr/local/mysql shell> chown -R root /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/var
shell> chgrp -R mysql /usr/local/mysql shell> chgrp -R mysql /usr/local/mysql
@end example @end example
The first command changes the @code{owner} attribute of the files to the The first command changes the @code{owner} attribute of the files to the
@code{mysql} user, and the second changes the @code{group} attribute to @code{root} user, the second one changes the @code{owner} attribute of the
the @code{mysql} group. data directory to the @code{mysql} user, and the third one changes the
@code{group} attribute to the @code{mysql} group.
@item @item
If you want to install support for the Perl @code{DBI}/@code{DBD} interface, If you want to install support for the Perl @code{DBI}/@code{DBD} interface,
...@@ -5710,7 +5713,8 @@ shell> ./configure --prefix=/usr/local/mysql ...@@ -5710,7 +5713,8 @@ shell> ./configure --prefix=/usr/local/mysql
shell> make shell> make
shell> make install shell> make install
shell> scripts/mysql_install_db shell> scripts/mysql_install_db
shell> chown -R mysql /usr/local/mysql shell> chown -R root /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/var
shell> chgrp -R mysql /usr/local/mysql shell> chgrp -R mysql /usr/local/mysql
shell> /usr/local/mysql/bin/safe_mysqld --user=mysql & shell> /usr/local/mysql/bin/safe_mysqld --user=mysql &
@end example @end example
...@@ -5827,17 +5831,19 @@ Note that @strong{MySQL} versions older than Version 3.22.10 started the ...@@ -5827,17 +5831,19 @@ Note that @strong{MySQL} versions older than Version 3.22.10 started the
longer true! longer true!
@item @item
Change ownership of the installation to the user that you will run Change ownership of binaries to @code{root} and ownership of the data
@code{mysqld} as: directory to the user that you will run @code{mysqld} as:
@example @example
shell> chown -R mysql /usr/local/mysql shell> chown -R root /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/var
shell> chgrp -R mysql /usr/local/mysql shell> chgrp -R mysql /usr/local/mysql
@end example @end example
The first command changes the @code{owner} attribute of the files to the The first command changes the @code{owner} attribute of the files to the
@code{mysql} user, and the second changes the @code{group} attribute to @code{root} user, the second one changes the @code{owner} attribute of the
the @code{mysql} group. data directory to the @code{mysql} user, and the third one changes the
@code{group} attribute to the @code{mysql} group.
@item @item
If you want to install support for the Perl @code{DBI}/@code{DBD} interface, If you want to install support for the Perl @code{DBI}/@code{DBD} interface,
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment