mysqld_multi
— Manage Multiple MySQL Servers
252
The
mysqladmin
binary to be used to stop servers.
•
--mysqld=prog_name
[252]
The
mysqld
binary to be used. Note that you can specify
mysqld_safe
as the value for this option
also. If you use
mysqld_safe
to start the server, you can include the
mysqld
or
ledir
options
in the corresponding
[mysqldN]
option group. These options indicate the name of the server that
mysqld_safe
should start and the path name of the directory where the server is located. (See the
descriptions for these options in
Section 4.3.2, “
mysqld_safe
— MySQL Server Startup Script”
.)
Example:
[mysqld38]
mysqld = mysqld-debug
ledir = /opt/local/mysql/libexec
•
--no-log
[252]
Print log information to
stdout
rather than to the log file. By default, output goes to the log file.
•
--password=password
[252]
The password of the MySQL account to use when invoking
mysqladmin
. Note that the password
value is not optional for this option, unlike for other MySQL programs.
•
--silent
[252]
Silent mode; disable warnings.
•
--tcp-ip
[252]
Connect to each MySQL server through the TCP/IP port instead of the Unix socket file. (If a socket
file is missing, the server might still be running, but accessible only through the TCP/IP port.) By
default, connections are made using the Unix socket file. This option affects
stop
and
report
operations.
•
--user=user_name
[252]
The user name of the MySQL account to use when invoking
mysqladmin
.
•
--verbose
[252]
Be more verbose.
•
--version
[252]
Display version information and exit.
Some notes about
mysqld_multi
:
• Most important: Before using
mysqld_multi
be sure that you understand the meanings of the
options that are passed to the
mysqld
servers and why you would want to have separate
mysqld
processes. Beware of the dangers of using multiple
mysqld
servers with the same data directory.
Use separate data directories, unless you know what you are doing. Starting multiple servers with
the same data directory does not give you extra performance in a threaded system. See
Section 5.3,
“Running Multiple MySQL Instances on One Machine”
.
•
Important
Make sure that the data directory for each server is fully accessible to the
Unix account that the specific
mysqld
process is started as. Do not use
the Unix
root
account for this, unless you know what you are doing. See
Section 6.1.5, “How to Run MySQL as a Normal User”
.
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...