MySQL Forums
Forum List  »  Install & Repo

Re: MySQL 5.7 - datadir change
Posted by: Terje Røsten
Date: December 27, 2015 07:33AM

Do you have SELinux enabled?

Check with the following command as root:

$ sestatus

If SELinux is enabled, add these command between cp and service start:

semanage fcontext -a -e /var/lib/mysql /data/mysql
restorecon /data/mysql

Options: ReplyQuote


Subject
Written By
Posted
December 16, 2015 04:26PM
Re: MySQL 5.7 - datadir change
December 27, 2015 07:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.