My Oracle Support Banner

MySQL will not start, and it produces no logs in SELlinux (Doc ID 1534857.1)

Last updated on FEBRUARY 28, 2020

Applies to:

MySQL Server - Version 5.0 and later
Information in this document applies to any platform.


MySQL is not able to start with SELinux and no logs are being generated by mysqld_safe.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 How to verify if SELinux is enabled
 How to disable SELinux entirely
 How to disable only the MySQL policy
 How to switch to "permissive" mode for the entire OS
 How to switch to "permissive" mode for only MySQL file contexts
 Update the mysql policy
 Required Tools

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.