Debian MariadDb Error Can not create test file
Publié 18/09/2019 16:29:35 Modifier 19/09/2019 13:43:12 par 1230106401
Can not create test file, your MariaDb server will not start anymore.
#debian #installation #mariadb
This is because in the configuration file of MariaDb the "datadir" and in "/ home" and there is a restriction of use of the directory "/ home"
If you can not change the "datadir" target, you must:
Edit the file: "/etc/systemd/system/multi-user.target.wants/mariadb.service"
Change the value of the parameter:
"ProtectHome = true"
By
"ProtectHome = false"
Be careful not to comment or delete the parameter because at the next update of this part the parameter will return to "ProtectHome = true" and you will search for 1 hour how you did the last time ...