Search Posts

Enable systemd to allow MySQL to be in /home directory

There are many cases systemd doesn’t allow the MySQL to work from a new/custom data directory path. It still restricts the path and stick to the default /var/lib/mysql even if we try to change it.

To override this, disable ProtectHome on the following file.


Leave a Reply

Your email address will not be published. Required fields are marked *