securing mysql server on Fedora/CentOS

Sam Varshavchik mrsam at courier-mta.com
Tue Nov 24 01:50:49 UTC 2009


Ed Landaveri writes:

> Ladies, gentleman,
> 
> I'm trying to secure a mysql server and according to the MySQL
> certification guide the file system mysql install directories should be
> owned by the user/group mysql.mysql. Also the server should be started
> using NOT the root account but the mysql account which easily can be done
> by modifying /etc/my.cnf file.
> Assuming that /usr/local is the installation if you did install from a tar ball to this directory this must be done:
> 
> chown -R mysql.mysql /usr/local
> chmod u =rwx,go=rx /usr/local

Any particular reason you want to brew something yourself, instead of a 
simple "yum install mysql-server", which sets all of this up, for you?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20091123/df7676ed/attachment-0001.bin 


More information about the users mailing list