myqsl dummy needs help
Daniel Fazekas
fdsubs at t-online.hu
Mon Feb 16 23:59:52 UTC 2009
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
More information about the fedora-selinux-list
mailing list