|
|
Move MySQL to own User/Group?
This article mentions moving the installed MySQL to it's own User/Group for extra security.
Move MySQL to own User/Group?
The file "manual.txt" which can be found in the "mysql-3.23.38/Docs"
folder contains info on how to do this:
...
10. Change ownership of binaries to `root' and ownership of the data
directory to the user that you will run `mysqld' as:
shell> chown -R root /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/var
shell> chgrp -R mysql /usr/local/mysql
The first command changes the `owner' attribute of the files to the
`root' user, the second one changes the `owner' attribute of the
data directory to the `mysql' user, and the third one changes the
`group' attribute to the `mysql' group.
...
Earlier, it suggests creating both a "mysql" group and
"mysql" user. I was able to create the user using the
System Preferences | Users control panel, but have not
been able to create the group (due to my lack of experience
with Unix, I suppose).
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|