commit f9339d84a7f6a96874c21ec55ff03934e849a832
Author: Arkadiusz Miƛkiewicz <ar...@maven.pl>
Date:   Mon Dec 4 16:18:26 2023 +0100

    By default put db in 01 subdirectory (in case if you want more clusters)

 mysql-clusters.conf | 2 +-
 mysql.init          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mysql-clusters.conf b/mysql-clusters.conf
index 42810ff..02d9beb 100644
--- a/mysql-clusters.conf
+++ b/mysql-clusters.conf
@@ -7,4 +7,4 @@
 # /config/location.conf=/cluster/directory
 # If you give config name without path it defaults to /etc/mysql/
 
-mysqld.conf=/var/lib/mysql{MYSQL_MAJOR}
+mysqld.conf=/var/lib/mysql{MYSQL_MAJOR}/01
diff --git a/mysql.init b/mysql.init
index e29db1e..c0a7a26 100755
--- a/mysql.init
+++ b/mysql.init
@@ -36,7 +36,7 @@ else
        if [ -z "$MYSQL_DB_CLUSTERS" ]; then
                nls "Warning: there are no configured clusters."
                nls "Using default cluster /var/lib/mysql{MYSQL_MAJOR} 
(compatibility mode)"
-               MYSQL_DB_CLUSTERS=/var/lib/mysql{MYSQL_MAJOR}
+               MYSQL_DB_CLUSTERS=/var/lib/mysql{MYSQL_MAJOR}/01
        fi
 fi
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/f9339d84a7f6a96874c21ec55ff03934e849a832

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to