1MYSQLD(8) MySQL Database System MYSQLD(8)
2
3
4
6 mysqld - the MySQL server
7
9 mysqld [options]
10
12 mysqld, also known as MySQL Server, is a single multithreaded program
13 that does most of the work in a MySQL installation. It does not spawn
14 additional processes. MySQL Server manages access to the MySQL data
15 directory that contains databases and tables. The data directory is
16 also the default location for other information such as log files and
17 status files.
18
19 Note
20 Some installation packages contain a debugging version of the
21 server named mysqld-debug. Invoke this version instead of mysqld
22 for debugging support, memory allocation checking, and trace file
23 support (see Section 5.9.1.2, “Creating Trace Files”).
24
25 When MySQL server starts, it listens for network connections from
26 client programs and manages access to databases on behalf of those
27 clients.
28
29 The mysqld program has many options that can be specified at startup.
30 For a complete list of options, run this command:
31
32 shell> mysqld --verbose --help
33
34 MySQL Server also has a set of system variables that affect its
35 operation as it runs. System variables can be set at server startup,
36 and many of them can be changed at runtime to effect dynamic server
37 reconfiguration. MySQL Server also has a set of status variables that
38 provide information about its operation. You can monitor these status
39 variables to access runtime performance characteristics.
40
41 For a full description of MySQL Server command options, system
42 variables, and status variables, see Section 5.1, “The MySQL Server”.
43 For information about installing MySQL and setting up the initial
44 configuration, see Chapter 2, Installing and Upgrading MySQL.
45
47 Copyright © 1997, 2020, Oracle and/or its affiliates.
48
49 This documentation is free software; you can redistribute it and/or
50 modify it only under the terms of the GNU General Public License as
51 published by the Free Software Foundation; version 2 of the License.
52
53 This documentation is distributed in the hope that it will be useful,
54 but WITHOUT ANY WARRANTY; without even the implied warranty of
55 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
56 General Public License for more details.
57
58 You should have received a copy of the GNU General Public License along
59 with the program; if not, write to the Free Software Foundation, Inc.,
60 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
61 http://www.gnu.org/licenses/.
62
63
65 For more information, please refer to the MySQL Reference Manual, which
66 may already be installed locally and which is also available online at
67 http://dev.mysql.com/doc/.
68
70 Oracle Corporation (http://dev.mysql.com/).
71
72
73
74MySQL 8.0 11/26/2020 MYSQLD(8)