Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
375be6d5
Commit
375be6d5
authored
Feb 26, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manual.texi fixed chown issue
parent
689273af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
+18
-12
Docs/manual.texi
Docs/manual.texi
+18
-12
No files found.
Docs/manual.texi
View file @
375be6d5
...
@@ -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,
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment