diff options
author | tsmith/tim@siva.hindu.god <> | 2006-12-21 18:20:09 -0700 |
---|---|---|
committer | tsmith/tim@siva.hindu.god <> | 2006-12-21 18:20:09 -0700 |
commit | f204db4dd1a10e9e5f0307f53db23c3f3af84631 (patch) | |
tree | ba8426bd9db7c393cabbabe38c1ee7c5065d67f1 /scripts/mysqld_multi.sh | |
parent | 0af85f85160f7caa0f4f17d7e63f0d1177aba18e (diff) | |
parent | 51fcec6a2070835b5bda4166be2b9db3a598b0b4 (diff) | |
download | mariadb-git-f204db4dd1a10e9e5f0307f53db23c3f3af84631.tar.gz |
Merge siva.hindu.god:/usr/home/tim/m/bk/g50
into siva.hindu.god:/usr/home/tim/m/bk/50
Diffstat (limited to 'scripts/mysqld_multi.sh')
-rw-r--r-- | scripts/mysqld_multi.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mysqld_multi.sh b/scripts/mysqld_multi.sh index c9c0b21b584..91afe49b46b 100644 --- a/scripts/mysqld_multi.sh +++ b/scripts/mysqld_multi.sh @@ -464,9 +464,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++) { @@ -719,7 +719,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 |