packages/utils/mariadb/files/mysqld.config
Michal Hrusecky 1be35284bb mariadb: Init script improvements
Update init script so other user/group can be used. Also make sure that
init script can actually create an empty database instead of forcing the
user to do it by hand. Other new feature is taking care of migration
of the database when upgrading the database.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2021-11-29 01:47:45 -08:00

13 lines
387 B
Text

config mysqld 'general'
# Unless enable, MariaDB will not start without this
option enabled '0'
# User to run MariaDB as
option user 'mariadb'
# Group to run MariaDB
option group 'mariadb'
# If there is now database, create an empty one automatically
option init '1'
# If upgrading old database, run mysql_upgrade during restart
option upgrade '1'