Unable to autostart mysql database after changing the default database location
Issue
- Unable to autostart
mysqldatabase after changing the default database location - When I disabled
SELinuxthe database is able to start without issues. - However when
SELinuxis in enforcing mode, getting below errors in /var/log/messages:
/usr/sbin/mysqld: File '/mysql/tx_logs/mysql-bin.index' not found (Errcode: 13)
Environment
- Red Hat Enterprise Linux 6.5
- selinux-policy
- mysql
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.
