Oracle 5.0 Reference Manual page 271

Table of Contents

Advertisement

mysqld_multi
This command starts a single server using option group [mysqld17]:
shell>
mysqld_multi start 17
This command stops several servers, using option groups
[mysqld13]:
shell>
mysqld_multi stop 8,10-13
For an example of how you might set up an option file, use this command:
shell>
mysqld_multi --example
As of MySQL 5.0.42,
mysqld_multi
With
--no-defaults
With
--defaults-file=file_name
Otherwise, option files in the standard list of locations are read, including any file named by the
defaults-extra-file=file_name
times, the last value is used.)
Before MySQL 5.0.42, the preceding options are not recognized. Files in the standard locations
are read, and any file named by the
A file named by
--config-file
group.
[mysqld_multi]
Option files read are searched for
group can be used for options to
[mysqld_multi]
used for options passed to specific
As of MySQL 5.0.82, the
options read by all instances of
[240]
file=file_name
the
or
[mysqld]
[mysqld_safe]
5.0.82, some versions of
these techniques are inapplicable.
supports the following options.
mysqld_multi
[251]
--help
Display a help message and exit.
--config-file=file_name
As of MySQL 5.0.42, this option is deprecated. If given, it is treated the same way as
[251], described earlier.
extra-file
Before MySQL 5.0.42, this option specifies the name of an extra option file. It affects where
looks for
mysqld_multi
the usual
file. The option does not affect where
my.cnf
which are always taken from the
[251]
--example
Display a sample option file.
--log=file_name
Specify the name of the log file. If the file exists, log output is appended to it.
--mysqladmin=prog_name
— Manage Multiple MySQL Servers
searches for option files as follows:
[251], no option files are read.
[251], only the named file is read.
[251]
--config-file=file_name
[251]
is read only for
[mysqld_multi]
instances.
mysqld
or
[mysqld]
[mysqld_safe]
or mysqld_safe. You can specify a
mysqld
option to use a different configuration file for that instance, in which case
groups from that file will be used for that instance. Before MySQL
pass the
mysqld_multi
[251]
--config-file
option groups. Without this option, all options are read from
[mysqldN]
[mysqld_multi]
[251]
[251]
251
[mysqld8]
option, if one is given. (If the option is given multiple
[251]
option groups, not the
[mysqldN]
and
[mysqldN]
itself.
mysqld_multi
groups can be used for common
[240]
--no-defaults
[251]
is removed in MySQL 5.5.
mysqld_multi
group in the usual
and
through
[mysqld10]
option, if one is given.
option groups. The
groups can be
[mysqldN]
--defaults-
options to instances, so
--defaults-
reads its own options,
file.
my.cnf
--

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents