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 the main program that does most
13 of the work in a MySQL installation. MySQL Server manages access to the
14 MySQL data directory that contains databases and tables. The data
15 directory is also the default location for other information such as
16 log files and status files.
17
18 Note
19 Some installation packages contain a debugging version of the
20 server named mysqld-debug. Invoke this version instead of mysqld
21 for debugging support, memory allocation checking, and trace file
22 support (see Section 29.5.1.2, “Creating Trace Files”).
23
24 When MySQL server starts, it listens for network connections from
25 client programs and manages access to databases on behalf of those
26 clients.
27
28 The mysqld program has many options that can be specified at startup.
29 For a complete list of options, run this command:
30
31 shell> mysqld --verbose --help
32
33 MySQL Server also has a set of system variables that affect its
34 operation as it runs. System variables can be set at server startup,
35 and many of them can be changed at runtime to effect dynamic server
36 reconfiguration. MySQL Server also has a set of status variables that
37 provide information about its operation. You can monitor these status
38 variables to access runtime performance characteristics.
39
40 For a full description of MySQL Server command options, system
41 variables, and status variables, see Section 5.1, “The MySQL Server”.
42 For information about installing MySQL and setting up the initial
43 configuration, see Chapter 2, Installing and Upgrading MySQL.
44
46 Copyright © 1997, 2020, Oracle and/or its affiliates. All rights
47 reserved.
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 03/06/2020 MYSQLD(8)