~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to man/mysqld_multi.1

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
.\"     Title: \fBmysqld_multi\fR
3
3
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5
 
.\"      Date: 07/06/2010
 
5
.\"      Date: 12/16/2011
6
6
.\"    Manual: MySQL Database System
7
7
.\"    Source: MySQL 5.1
8
8
.\"  Language: English
9
9
.\"
10
 
.TH "\FBMYSQLD_MULTI\FR" "1" "07/06/2010" "MySQL 5\&.1" "MySQL Database System"
 
10
.TH "\FBMYSQLD_MULTI\FR" "1" "12/16/2011" "MySQL 5\&.1" "MySQL Database System"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * set default formatting
13
13
.\" -----------------------------------------------------------------
51
51
[mysqld]
52
52
group used for starting
53
53
\fBmysqld\fR\&. (See, for example,
54
 
Section\ \&2.13.1.2, \(lqStarting and Stopping MySQL Automatically\(rq\&.) However, when using multiple servers, it is necessary that each one use its own value for options such as the Unix socket file and TCP/IP port number\&. For more information on which options must be unique per server in a multiple\-server environment, see
55
 
Section\ \&5.6, \(lqRunning Multiple MySQL Servers on the Same Machine\(rq\&.
 
54
Section\ \&2.12.1.2, \(lqStarting and Stopping MySQL Automatically\(rq\&.) However, when using multiple servers, it is necessary that each one use its own value for options such as the Unix socket file and TCP/IP port number\&. For more information on which options must be unique per server in a multiple\-server environment, see
 
55
Section\ \&5.6, \(lqRunning Multiple MySQL Instances on One Machine\(rq\&.
56
56
.PP
57
57
To invoke
58
58
\fBmysqld_multi\fR, use the following syntax:
425
425
.\" tcp-ip option: mysqld_multi
426
426
\fB\-\-tcp\-ip\fR
427
427
.sp
428
 
Connect to each MySQL server via 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 via the TCP/IP port\&.) By default, connections are made using the Unix socket file\&. This option affects
 
428
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
429
429
stop
430
430
and
431
431
report
504
504
what you are doing\&. Starting multiple servers with the same data directory does
505
505
\fInot\fR
506
506
give you extra performance in a threaded system\&. See
507
 
Section\ \&5.6, \(lqRunning Multiple MySQL Servers on the Same Machine\(rq\&.
 
507
Section\ \&5.6, \(lqRunning Multiple MySQL Instances on One Machine\(rq\&.
508
508
.RE
509
509
.sp
510
510
.RS 4
575
575
See
576
576
Section\ \&5.4, \(lqThe MySQL Access Privilege System\(rq\&. You have to do this for each
577
577
\fBmysqld\fR
578
 
server\&. Change the connection parameters appropriately when connecting to each one\&. Note that the host name part of the account name must allow you to connect as
 
578
server\&. Change the connection parameters appropriately when connecting to each one\&. Note that the host name part of the account name must permit you to connect as
579
579
multi_admin
580
580
from the host where you want to run
581
581
\fBmysqld_multi\fR\&.
662
662
option for
663
663
\fBmysqld\fR, but to do this you need to run the
664
664
\fBmysqld_multi\fR
665
 
script as the Unix
666
 
root
667
 
user\&. Having the option in the option file doesn\'t matter; you just get a warning if you are not the superuser and the
 
665
script as the Unix superuser (root)\&. Having the option in the option file doesn\'t matter; you just get a warning if you are not the superuser and the
668
666
\fBmysqld\fR
669
667
processes are started under your own Unix account\&.
670
668
.RE
728
726
.SH "COPYRIGHT"
729
727
.br
730
728
.PP
731
 
Copyright \(co 1997, 2010, Oracle and/or its affiliates. All rights reserved.
 
729
Copyright \(co 1997, 2011, Oracle and/or its affiliates. All rights reserved.
732
730
.PP
733
731
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
734
732
.PP