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, tools, and much more.