mariadb: Use defaults and change default datadir
authorMichal Hrusecky <michal.hrusecky@turris.com>
Mon, 12 Oct 2020 08:50:51 +0000 (10:50 +0200)
committerMichal Hrusecky <michal.hrusecky@turris.com>
Tue, 13 Oct 2020 06:58:29 +0000 (08:58 +0200)
commit7c628580a6ecaad9b044191dc24661fc291fb42e
tree3d49849e46d3d2ea1a54f4cbfeab452b58760162
parent233398ced53bcf42eba58d840175db4362eb9ce6
mariadb: Use defaults and change default datadir

Use /srv/mysql as default datadir as /var/lib/mysql is in tmpfs. This
doesn't affect any existing setup as up till now it had to be always
specified in configuration. That is addressed in the second part of this
commit - init script now uses even defaults as compiled in MariaDB so
not everything has to be specified in configuration file.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
utils/mariadb/Makefile
utils/mariadb/files/mysqld.init