summaryrefslogtreecommitdiff
path: root/scripts/mysqld_multi.sh
diff options
context:
space:
mode:
authorjani@a193-229-222-105.elisa-laajakaista.fi <>2004-10-11 23:59:37 +0300
committerjani@a193-229-222-105.elisa-laajakaista.fi <>2004-10-11 23:59:37 +0300
commit900157304070ed904b51f3de61c4a39490b6bba7 (patch)
tree3c6e7b1bef7e2bc61bff781056eaf47eadb4ee95 /scripts/mysqld_multi.sh
parentdbd73895d207c75c4aa89070779b2be9847c0a35 (diff)
downloadmariadb-git-900157304070ed904b51f3de61c4a39490b6bba7.tar.gz
Added documentation.
Diffstat (limited to 'scripts/mysqld_multi.sh')
-rw-r--r--scripts/mysqld_multi.sh21
1 files changed, 20 insertions, 1 deletions
diff --git a/scripts/mysqld_multi.sh b/scripts/mysqld_multi.sh
index 00f46009c84..ba46fd6fa29 100644
--- a/scripts/mysqld_multi.sh
+++ b/scripts/mysqld_multi.sh
@@ -619,8 +619,10 @@ sub example
# - Speed penalty
# - Risk of table/data corruption
# - Data synchronising problems between the running servers
-# - Heavily disk bound
+# - Heavily media (disk) bound
# - Relies on the system (external) file locking
+# - Is not applicable with all table types. (Such as InnoDB)
+# Trying so will end up with undesirable results.
#
# 4.TCP/IP Port
#
@@ -638,6 +640,23 @@ sub example
# can be very handy in some cases, but then you need to run $my_progname
# as UNIX root.
#
+# 7.A Start-up Manage Script for $my_progname
+#
+# In the recent MySQL distributions you can find a file called
+# mysqld_multi.server.sh. It is a wrapper for $my_progname. This can
+# be used to start and stop multiple servers during boot and shutdown.
+#
+# You can place the file in /etc/init.d/mysqld_multi.server.sh and
+# make the needed symbolic links to it from various run levels
+# (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
+# or /root/.my.cnf and add the [mysqld_multi] and [mysqld#] groups.
+#
+# The script can be found from support-files/mysqld_multi.server.sh
+# in MySQL distribution. (Verify the script before using)
+#
[mysqld_multi]
mysqld = @bindir@/mysqld_safe