Tuesday, 3 September 2013

MySQL SELinux conflict Fedora 19

MySQL SELinux conflict Fedora 19

I've successfully installed MySQL 5.6 on my F19. Although the installation
was successful, I'm unable to start the mysql service.
When I ran
service mysql start
It returns the following error:
Starting MySQL..The server quit without updating PID file
(/var/lib/mysql/sandboxlabs.pid).
I disabled SELinux (enforcing mode), and the service started smoothly. But
I did some research about disabling SELinux, and found that disabling
SELinux is a bad idea. So, is there any way to add custom MySQL policy? Or
should I leave the SELinux to enforcing mode?

No comments:

Post a Comment