[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: myqsl dummy needs help
- From: Daniel Fazekas <fdsubs t-online hu>
- To: fedora-selinux-list redhat com
- Subject: Re: myqsl dummy needs help
- Date: Tue, 17 Feb 2009 00:59:52 +0100
On Feb 17, 2009, at 00:32, Gene Heskett wrote:
mkdir /var/lib/mysql
chown mysql:mysql /var/lib/mysql
service mysqld start
I got to here ^^^ and selinux stuck up its hand & waved at me.
SELinux is preventing mysqld (mysqld_t) "create" to mysql.sock
(var_lib_t).
That chown step is unnecessary, since that is already done by the
mysqld init script.
Instead, add a restorecon in there:
mkdir -p /var/lib/mysql
restorecon -r /var/lib/mysql
service mysqld start
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]