1MYSQL.SERVER(1)             MariaDB Database System            MYSQL.SERVER(1)
2
3
4

NAME

6       mysql.server - MariaDB server startup script
7

SYNOPSIS

9       mysql {start|stop}
10

DESCRIPTION

12       MariaDB distributions on Unix include a script named mysql.server. It
13       can be used on systems such as Linux and Solaris that use System
14       V-style run directories to start and stop system services. It is also
15       used by the Mac OS X Startup Item for MariaDB.
16
17       mysql.server can be found in the support-files directory under your
18       MariaDB installation directory or in a MariaDB 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.
23
24       Some vendors provide RPM packages that install a startup script under a
25       different name such as mysqld.
26
27       If you install MariaDB from a source distribution or using a binary
28       distribution format that does not install mysql.server automatically,
29       you can install it manually.
30
31       mysql.server reads options from the [mysql.server] and [mysqld]
32       sections of option files. For backward compatibility, it also reads
33       [mysql_server] sections, although you should rename such sections to
34       [mysql.server]&.
35
36       mysql.server supports the following options.
37
38--basedir=path
39
40           The path to the MariaDB installation directory.
41
42--datadir=path
43
44           The path to the MariaDB data directory.
45
46--pid-file=file_name
47
48           The path name of the file in which the server should write its
49           process ID. If not provided, the default, "host_name.pid" is used.
50
51--service-startup-timeout=file_name
52
53           How long in seconds to wait for confirmation of server startup. If
54           the server does not start within this time, mysql.server exits with
55           an error. The default value is 900. A value of 0 means not to wait
56           at all for startup. Negative values mean to wait forever (no
57           timeout).
58
59--use-mysqld_safe
60
61           Use mysqld_safe to start the server. This is the default.
62
63--use-manager
64
65           Use Instance Manager to start the server.
66
67--user=user_name
68
69           The login user name to use for running mysqld.
70
72       Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.,
73       2010-2019 MariaDB Foundation
74
75       This documentation is free software; you can redistribute it and/or
76       modify it only under the terms of the GNU General Public License as
77       published by the Free Software Foundation; version 2 of the License.
78
79       This documentation is distributed in the hope that it will be useful,
80       but WITHOUT ANY WARRANTY; without even the implied warranty of
81       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
82       General Public License for more details.
83
84       You should have received a copy of the GNU General Public License along
85       with the program; if not, write to the Free Software Foundation, Inc.,
86       51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA or see
87       http://www.gnu.org/licenses/.
88
89

SEE ALSO

91       For more information, please refer to the MariaDB Knowledge Base,
92       available online at https://mariadb.com/kb/
93

AUTHOR

95       MariaDB Foundation (http://www.mariadb.org/).
96
97
98
99MariaDB 10.5                     27 June 2019                  MYSQL.SERVER(1)
Impressum