SELinux prevents MySQL to start while a custom directory is configured for the MySQL database
Issue
- After changing
datadir, rh-mysql57-mysql-server is not starting - MySQL is not starting when a custom directory is configured for the MySQL database
Environment
- Red Hat Enterprise Linux (RHEL) 7
- SELinux in enforcing mode
- MySQL server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
