MariaDB does not start after upgrade when installation directory is inside /home




  • Avatar
    Luka Paunović

    Daemon looks whether those variables are defined. Not whether they are set to true or false.

    So the correct way is just to leave it blank.


    Also, it's worth mentioning for newbies that this should be run:

    systemctl daemon-reload
    After I did this it finally worked. Interesting is that this occurs only with MariaDB 10.1 
    Those variables are not existent for earlier versions.
  • Avatar
    Denis Bykov

    @Luka, thank you for your input.

    The solution had been verified and the article was expanded accordingly.

  • Avatar
    Luka Paunović (Edited )

    Even after this fix mariadb.service file is getting overwritten with an update. So to avoid any further downtime I did this:

    cp /usr/lib/systemd/system/mariadb.service /etc/systemd/system/mariadb.service

    Then I made changes to


    And that's it! Even after update  - you are safe!

Please sign in to leave a comment.

Have more questions? Submit a request