Apparently after the .1 release you cannot run SQL from /home anymore. There's probably a way around this but haven't found it.
I can run MySQL from any location except /home. What I did was unmount /home (I had my SSD RAID mounted to /home) and re-mount my disk as /ssd. Changed my paths in the config and it worked right away.
I did not run SELinux or Apparmor.
To run MariaDB SQL from /home, in the file /usr/lib/systemd/system/mariadb.service, just change :
ProtectHome=true
to :
ProtectHome=false
in ubuntu 17.04 the file seems to have moved here /lib/systemd/system/ – wuppi Apr 18 '17 at 11:08
-
For debian 9 the file is at /etc/systemd/system/multi-user.target.wants/mariadb.service. And then before starting the service it must be run "systemctl daemon-reload" – user1077915 Oct 29 '17 at 12:10
-
This apparently doesn't work anymore. Mariadb just updated this morning and it completely ignores ProtectHome=false. – Jestep Feb 7 at 15:50
https://confluence.curvc.com/pages/viewpage.action?pageId=10092642