Commit 30aa0051 authored by Marcel Haazen's avatar Marcel Haazen Committed by Leonardo Arena
Browse files

main/mariadb: Replace rpm parameter with datadir parameter

Fix for the init script so that the system database gets made after
running /etc/init.d/mariadb setup instead of failing silently.
parent f0288820
......@@ -3,10 +3,11 @@
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: TBK <alpine@jjtc.eu>
# Contributor: Marcel Haazen <marcel@haazen.xyz>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mariadb
pkgver=10.3.13
pkgrel=0
pkgrel=1
pkgdesc="A fast SQL database server"
url="https://www.mariadb.org"
pkgusers="mysql"
......
......@@ -16,7 +16,7 @@ depend() {
setup() {
ebegin "Creating a new MySQL database"
mysql_install_db --user=mysql --rpm
mysql_install_db --user=mysql --datadir /var/lib/mysql
eend $?
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment