MYSQL.SERVER(1) MySQL Database System MYSQL.SERVER(1)

2
3
4

NAME

6       mysql.server - MySQL server startup script
7

SYNOPSIS

9       mysql {start|stop}
10

DESCRIPTION

12       MySQL distributions on Unix include a script named mysql.server. It can
13       be used on systems such as Linux and Solaris that use System V-style
14       run directories to start and stop system services. It is also used by
15       the Mac OS X Startup Item for MySQL.
16
17       mysql.server can be found in the support-files directory under your
18       MySQL installation directory or in a MySQL source distribution.
19
20       If you use the Linux server RPM package (MySQL-server-VERSION.rpm), the
21       mysql.server script will be installed in the /etc/init.d directory with
22       the name mysql. You need not install it manually. See Section 4.9,
23       “Installing MySQL from RPM Packages on Linux”, for more information on
24       the Linux RPM packages.
25
26       Some vendors provide RPM packages that install a startup script under a
27       different name such as mysqld.
28
29       If you install MySQL from a source distribution or using a binary
30       distribution format that does not install mysql.server automatically,
31       you can install it manually. Instructions are provided in
32       Section 4.15.2.2, “Starting and Stopping MySQL Automatically”.
33
34       mysql.server reads options from the [mysql.server] and [mysqld]
35       sections of option files. For backward compatibility, it also reads
36       [mysql_server] sections, although you should rename such sections to
37       [mysql.server] when using MySQL 5.0.
38
39       mysql.server understands the following options:
40
41       ·  --basedir=path
42
43          The path to the MySQL installation directory.
44
45       ·  --datadir=path
46
47          The path to the MySQL data directory.
48
49       ·  --pid-file=file_name
50
51          The pathname of the file in which the server should write its
52          process ID.
53
54       ·  --service-startup-timeout=file_name
55
56          How long in seconds to wait for confirmation of server startup. If
57          the server does not start within this time, mysql.server exits with
58          an error. The default value is 900. A value of 0 means not to wait
59          at all for startup. Negative values mean to wait forever (no
60          timeout). This option was added in MySQL 5.0.40. Before that, a
61          value of 900 is always used.
62
63       ·  --use-mysqld_safe
64
65          Use mysqld_safe to start the server. This is the default. This
66          option was added in MySQL 5.0.4.
67
68       ·  --use-manager
69
70          Use Instance Manager to start the server. This option was added in
71          MySQL 5.0.4.
72
73       ·  --user=user_name
74
75          The login username to use for running mysqld. This option was added
76          in MySQL 5.0.4.
77
79       Copyright 1997-2007 MySQL AB
80
81       This documentation is NOT distributed under a GPL license. Use of this
82       documentation is subject to the following terms: You may create a
83       printed copy of this documentation solely for your own personal use.
84       Conversion to other formats is allowed as long as the actual content is
85       not altered or edited in any way. You shall not publish or distribute
86       this documentation in any form or on any media, except if you
87       distribute the documentation in a manner similar to how MySQL
88       disseminates it (that is, electronically for download on a Web site
89       with the software) or on a CD-ROM or similar medium, provided however
90       that the documentation is disseminated together with the software on
91       the same medium. Any other use, such as any dissemination of printed
92       copies or use of this documentation, in whole or in part, in another
93       publication, requires the prior written consent from an authorized
94       representative of MySQL AB. MySQL AB reserves any and all rights to
95       this documentation not expressly granted above.
96
97       Please email <docs@mysql.com> for more information.
98

SEE ALSO

100       For more information, please refer to the MySQL Reference Manual, which
101       may already be installed locally and which is also available online at
102       http://dev.mysql.com/doc/.
103

AUTHOR

105       MySQL AB (http://www.mysql.com/).  This software comes with no
106       warranty.
107
108
109
110MySQL 5.0                         07/04/2007                   MYSQL.SERVER(1)
Impressum