LoginSignup
3
2

More than 5 years have passed since last update.

MariaDB 10.1.16 datadirをhome配下にした場合にsystemdで起動しない

Last updated at Posted at 2016-08-10

/usr/bin/mysqld_safeで起動するのですが
systemctl start mariadbで失敗するケースに遭遇しました。

原因はhome配下をdatadirとしていたためで
以下の変更が10.1.16されています。
https://jira.mariadb.org/browse/MDEV-10298

/usr/lib/systemd/system/mariadb.service
ProtectHome=false
とすることでsystemdでも起動しました。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2