Mail archive
alpine-aports

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

From: Marcel Haazen <marcel_at_haazen.xyz>
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
_at_@ -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:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Apr 17 2019 - 14:26:38 UTC