]> git.pld-linux.org Git - packages/mysql.git/commitdiff
By default put db in 01 subdirectory (in case if you want more clusters)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 4 Dec 2023 15:18:26 +0000 (16:18 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 4 Dec 2023 15:18:26 +0000 (16:18 +0100)
mysql-clusters.conf
mysql.init

index 42810ffff1f55f375486d6f6463ff3cf4e5acc93..02d9bebc649131cf76aad7a5ed2b81fae6faf269 100644 (file)
@@ -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
index e29db1e60bd9ee720884e458d2e294bae0af3ea6..c0a7a2677aeeb4c9f6608217b5a9b07d19345563 100755 (executable)
@@ -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
 
This page took 0.135501 seconds and 4 git commands to generate.