diff options
Diffstat (limited to 'grot.cfg.5')
-rw-r--r-- | grot.cfg.5 | 48 |
1 files changed, 20 insertions, 28 deletions
@@ -1,3 +1,3 @@ -.\" This file is part of Grot. -.\" Copyright (C) 2009, 2010 Sergey Poznyakoff +.\" This file is part of Grot. -*- nroff -*- +.\" Copyright (C) 2009, 2010, 2013 Sergey Poznyakoff .\" @@ -15,9 +15,8 @@ .\" along with grot. If not, see <http://www.gnu.org/licenses/>. -.TH grot.cfg "5" "May 16, 2009" "grot (grot 1.0)" "System Administrator's Manual" +.TH grot.cfg "5" "August 6, 2013" "grot (grot 1.0)" "System Administrator's Manual" .SH NAME grot.cfg \- grot configuration file - .SH DESCRIPTION The \fBgrot\fR configuration file contains information about master and -slave MySQL servers. Its format is the same as of any \fBmy.cfg\fR file, +slave MySQL servers. Its format is the same as of \fBmy.cfg\fR file, i.e. it consists of sections, which contain variable assignments. A section @@ -26,15 +25,12 @@ assignement occupies a separate line and consists of variable name and value separated by equals sign with arbitrary amount of white space around it. - +.PP \fBGrot\fR uses the sections named \fBgrot\fR, \fBslave\fR and, additionally any sections whose names coincide with existing slave host names. - -.SH THE GROT SECTION - +.SH "THE GROT SECTION" This section defines the master server parameters. Allowed variables are: - .TP -\fBhost\fR +.B host Defines the host name or IP address of the master SQL server. .TP -\fBport\fR +.B port Specifies the port the server listens to. Use this variable if the port @@ -42,6 +38,6 @@ differs from the default 3306. .TP -\fBsocket\fR +.B socket Specifies the UNIX socket name, if the server listens on a UNIX socket. .TP -\fBuser\fR +.B user Sets the MySQL user name. This user must be granted the \fBPROCESS\fR, @@ -50,7 +46,5 @@ if \fBgrot\fR is run with the \fB\-\-no\-flush\fR option. .TP -\fBpassword\fR +.B password Password for that user. - -.SH THE SLAVE SECTION - +.SH "THE SLAVE SECTION" The \fBslave\fR section configures the settings needed to connect to @@ -59,7 +53,6 @@ slaves use the same set of these settings, this section is enough for \fBgrot\fR to work. Otherwise, you need to specify the credentials for each -particular slave in a separate section, named after that slave host +particular slave in a separate section, named after that slave's host name. - .TP -\fBport\fR +.B port Specifies the port the server listens to. Use this variable if the port @@ -67,15 +60,14 @@ differs from the default 3306. .TP -\fBsocket\fR +.B socket Specifies the UNIX socket name, if the server listens on a UNIX socket. .TP -\fBuser\fR -Sets the MySQL user name. This user must be granted the \fBREPLICATION CLIENT\fR +.B user +Sets the MySQL user name. This user must be granted the +.B REPLICATION CLIENT global privilege. .TP -\fBpassword\fR +.B password Password for that user. - .SH "SEE ALSO" -grot(1) - +.BR grot (1). .SH COPYRIGHT |