SELinux and MySQL
Ryan Golhar
golharam at umdnj.edu
Tue Aug 15 21:42:21 UTC 2006
Sorry I should have been more clear. I knew that too.
If SELinux is enable, I cannot start the mysql daemon using
"/etcd/init.d/mysql start". I have to disable it first.
If I try to access a mysql database with SELinux enabled, I get an error
about the file being corrupt:
ERROR 1194 (HY000): Table 'user' is marked as crashed and should be
repaired
If I call '/usr/sbin/setenforce 0' prior to using mysql, all works well
(all being relative by what I've tried).
Ryan
-----Original Message-----
From: Manuel Arostegui Ramirez [mailto:manuel at todo-linux.com]
Sent: Tuesday, August 15, 2006 5:34 PM
To: golharam at umdnj.edu; General Red Hat Linux discussion list
Subject: Re: SELinux and MySQL
El Martes, 15 de Agosto de 2006 23:31, Ryan Golhar escribió:
> I'm not sure if this is the right place to post this but, I recently
> installed MySql 5.0.24 via RPM and noticed that nothings works
> correctly unless I disable selinux.
>
> Is this going to be the case for mySQL or am I missing something?
>
> Ryan
Please define "nothings works correctly"
That does not give us enough information about the problem :-)
--
Manuel Arostegui Ramirez.
Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.
More information about the redhat-list
mailing list