[packages/mysql] More MYSQL_MAJOR substitutions.

arekm arekm at pld-linux.org
Mon Dec 4 15:50:41 CET 2023


commit 6696be8e9a6d8a4dab6b2decb6fb63d313c1c377
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Dec 4 15:08:13 2023 +0100

    More MYSQL_MAJOR substitutions.

 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 c617647..42810ff 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
+mysqld.conf=/var/lib/mysql{MYSQL_MAJOR}
diff --git a/mysql.init b/mysql.init
index cb0f1a2..e29db1e 100755
--- a/mysql.init
+++ b/mysql.init
@@ -539,7 +539,7 @@ shell> mysql{MYSQL_MAJOR} -u mysql mysql
 mysql> show tables
 
 Try 'mysqld --help' if you have problems with paths. Setting on
-logging in $MYSQL_DATA_DIR/mysqld.conf gives you a log in /var/log/mysql/query.log that
+logging in $MYSQL_DATA_DIR/mysqld.conf gives you a log in /var/log/mysql{MYSQL_MAJOR}/query.log that
 may be helpful. The latest information about MySQL is available on the
 web at http://www.mysql.com/.
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list