Subject: [alpine-aports] [PATCH] Fixed fault that created no database when running /etc/init.d/mariadb setup

From: Marcel Haazen <[email-masked]>
Date: Wed, 17 Apr 2019 14:26:38 +0200

---
 main/mariadb/mariadb.initd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/mariadb/mariadb.initd b/main/mariadb/mariadb.initd
index 143ca8f..2958aea 100644
--- a/main/mariadb/mariadb.initd
+++ b/main/mariadb/mariadb.initd
@@ -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 $?
 }
 
-- 
2.20.1.windows.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---