summaryrefslogtreecommitdiff
path: root/scripts/mysqld_multi.sh
diff options
context:
space:
mode:
authorunknown <tsmith/tim@siva.hindu.god>2006-12-21 18:18:27 -0700
committerunknown <tsmith/tim@siva.hindu.god>2006-12-21 18:18:27 -0700
commitaf8057025ad0cd81fd3330bcf39c0deae8da0857 (patch)
treeac746a1b866ec284eeeab01c529579022d826faf /scripts/mysqld_multi.sh
parent8e1e3d87e00e43eb0e5f56d0aa86bcb6ee71d67e (diff)
parent6a842b25ed080c580b358c84abfb38ba0b544744 (diff)
downloadmariadb-git-af8057025ad0cd81fd3330bcf39c0deae8da0857.tar.gz
Merge siva.hindu.god:/usr/home/tim/m/bk/g41
into siva.hindu.god:/usr/home/tim/m/bk/41 scripts/mysqld_multi.sh: Auto merged
Diffstat (limited to 'scripts/mysqld_multi.sh')
-rw-r--r--scripts/mysqld_multi.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mysqld_multi.sh b/scripts/mysqld_multi.sh
index b11dc7394bf..48e64a6b541 100644
--- a/scripts/mysqld_multi.sh
+++ b/scripts/mysqld_multi.sh
@@ -429,9 +429,9 @@ sub find_groups
}
else
{
- if (-f "/etc/my.cnf" && -r "/etc/my.cnf")
+ if (-f "@sysconfdir@/my.cnf" && -r "@sysconfdir@/my.cnf")
{
- open(MY_CNF, "</etc/my.cnf") && (@tmp=<MY_CNF>) && close(MY_CNF);
+ open(MY_CNF, "<@sysconfdir@/my.cnf") && (@tmp=<MY_CNF>) && close(MY_CNF);
}
for ($i = 0; ($line = shift @tmp); $i++)
{
@@ -666,7 +666,7 @@ sub example
# (as per Linux/Unix standard). You may even replace the
# /etc/init.d/mysql.server script with it.
#
-# Before using, you must create a my.cnf file either in /etc/my.cnf
+# Before using, you must create a my.cnf file either in @sysconfdir@/my.cnf
# or /root/.my.cnf and add the [mysqld_multi] and [mysqld#] groups.
#
# The script can be found from support-files/mysqld_multi.server.sh