{
    "content": [
        {
            "type": "text",
            "text": "# mysqladmin (man)\n\n## NAME\n\nmysqladmin - a MySQL server administration program\n\n## SYNOPSIS\n\nmysqladmin [options] command [command-options] [command [command-options]] ...\n\n## DESCRIPTION\n\nmysqladmin is a client for performing administrative operations. You can use it to check the\nserver's configuration and current status, to create and drop databases, and more.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **COPYRIGHT**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "mysqladmin",
        "section": "",
        "mode": "man",
        "summary": "mysqladmin - a MySQL server administration program",
        "synopsis": "mysqladmin [options] command [command-options] [command [command-options]] ...",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 846,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "mysqladmin - a MySQL server administration program\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "mysqladmin [options] command [command-options] [command [command-options]] ...\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "mysqladmin is a client for performing administrative operations. You can use it to check the\nserver's configuration and current status, to create and drop databases, and more.\n\nInvoke mysqladmin like this:\n\nmysqladmin [options] command [command-arg] [command [command-arg]] ...\n\nmysqladmin supports the following commands. Some of the commands take an argument following\nthe command name.\n\n•   create dbname\n\nCreate a new database named dbname.\n\n•   debug\n\nPrior to MySQL 8.0.20, tell the server to write debug information to the error log. The\nconnected user must have the SUPER privilege. Format and content of this information is\nsubject to change.\n\nThis includes information about the Event Scheduler. See Section 27.4.5, “Event Scheduler\nStatus”.\n\n•   drop dbname\n\nDelete the database named dbname and all its tables.\n\n•   extended-status\n\nDisplay the server status variables and their values.\n\n•   flush-hosts\n\nFlush all information in the host cache. See Section 7.1.12.3, “DNS Lookups and the Host\nCache”.\n\n•   flush-logs [logtype ...]\n\nFlush all logs.\n\nThe mysqladmin flush-logs command permits optional log types to be given, to specify\nwhich logs to flush. Following the flush-logs command, you can provide a space-separated\nlist of one or more of the following log types: binary, engine, error, general, relay,\nslow. These correspond to the log types that can be specified for the FLUSH LOGS SQL\nstatement.\n\n•   flush-privileges\n\nReload the grant tables (same as reload).\n\n•   flush-status\n\nClear status variables.\n\n•   flush-tables\n\nFlush all tables.\n\n•   flush-threads\n\nFlush the thread cache.\n\n•   kill id,id,...\n\nKill server threads. If multiple thread ID values are given, there must be no spaces in\nthe list.\n\nTo kill threads belonging to other users, the connected user must have the\nCONNECTIONADMIN privilege (or the deprecated SUPER privilege).\n\n•   password newpassword\n\nSet a new password. This changes the password to newpassword for the account that you\nuse with mysqladmin for connecting to the server. Thus, the next time you invoke\nmysqladmin (or any other client program) using the same account, you must specify the new\npassword.\n\nWarning\nSetting a password using mysqladmin should be considered insecure. On some systems,\nyour password becomes visible to system status programs such as ps that may be\ninvoked by other users to display command lines. MySQL clients typically overwrite\nthe command-line password argument with zeros during their initialization sequence.\nHowever, there is still a brief interval during which the value is visible. Also, on\nsome systems this overwriting strategy is ineffective and the password remains\nvisible to ps. (SystemV Unix systems and perhaps others are subject to this problem.)\nIf the newpassword value contains spaces or other characters that are special to your\ncommand interpreter, you need to enclose it within quotation marks. On Windows, be sure\nto use double quotation marks rather than single quotation marks; single quotation marks\nare not stripped from the password, but rather are interpreted as part of the password.\nFor example:\n\nmysqladmin password \"my new password\"\n\nThe new password can be omitted following the password command. In this case, mysqladmin\nprompts for the password value, which enables you to avoid specifying the password on the\ncommand line. Omitting the password value should be done only if password is the final\ncommand on the mysqladmin command line. Otherwise, the next argument is taken as the\npassword.\n\nCaution\nDo not use this command used if the server was started with the --skip-grant-tables\noption. No password change is applied. This is true even if you precede the password\ncommand with flush-privileges on the same command line to re-enable the grant tables\nbecause the flush operation occurs after you connect. However, you can use mysqladmin\nflush-privileges to re-enable the grant table and then use a separate mysqladmin\npassword command to change the password.\n\n•   ping\n\nCheck whether the server is available. The return status from mysqladmin is 0 if the\nserver is running, 1 if it is not. This is 0 even in case of an error such as Access\ndenied, because this means that the server is running but refused the connection, which\nis different from the server not running.\n\n•   processlist\n\nShow a list of active server threads. This is like the output of the SHOW PROCESSLIST\nstatement. If the --verbose option is given, the output is like that of SHOW FULL\nPROCESSLIST. (See Section 15.7.7.29, “SHOW PROCESSLIST Statement”.)\n\n•   reload\n\nReload the grant tables.\n\n•   refresh\n\nFlush all tables and close and open log files.\n\n•   shutdown\n\nStop the server.\n\n•   start-replica\n\nStart replication on a replica server. Use this command from MySQL 8.0.26.\n\n•   start-slave\n\nStart replication on a replica server. Use this command before MySQL 8.0.26.\n\n•   status\n\nDisplay a short server status message.\n\n•   stop-replica\n\nStop replication on a replica server. Use this command from MySQL 8.0.26.\n\n•   stop-slave\n\nStop replication on a replica server. Use this command before MySQL 8.0.26.\n\n•   variables\n\nDisplay the server system variables and their values.\n\n•   version\n\nDisplay version information from the server.\n\nAll commands can be shortened to any unique prefix. For example:\n\n$> mysqladmin proc stat\n+----+-------+-----------+----+---------+------+-------+------------------+\n| Id | User  | Host      | db | Command | Time | State | Info             |\n+----+-------+-----------+----+---------+------+-------+------------------+\n| 51 | jones | localhost |    | Query   | 0    |       | show processlist |\n+----+-------+-----------+----+---------+------+-------+------------------+\nUptime: 1473624  Threads: 1  Questions: 39487\nSlow queries: 0  Opens: 541  Flush tables: 1\nOpen tables: 19  Queries per second avg: 0.0268\n\nThe mysqladmin status command result displays the following values:\n\n•   Uptime\n\nThe number of seconds the MySQL server has been running.\n\n•   Threads\n\nThe number of active threads (clients).\n\n•   Questions\n\nThe number of questions (queries) from clients since the server was started.\n\n•   Slow queries\n\nThe number of queries that have taken more than longquerytime seconds. See\nSection 7.4.5, “The Slow Query Log”.\n\n•   Opens\n\nThe number of tables the server has opened.\n\n•   Flush tables\n\nThe number of flush-*, refresh, and reload commands the server has executed.\n\n•   Open tables\n\nThe number of tables that currently are open.\n\nIf you execute mysqladmin shutdown when connecting to a local server using a Unix socket\nfile, mysqladmin waits until the server's process ID file has been removed, to ensure that\nthe server has stopped properly.\n\nmysqladmin supports the following options, which can be specified on the command line or in\nthe [mysqladmin] and [client] groups of an option file. For information about option files\nused by MySQL programs, see Section 6.2.2.2, “Using Option Files”.\n\n•   --help, -?\n\n┌────────────────────┬────────┐\n│Command-Line Format │ --help │\n└────────────────────┴────────┘\nDisplay a help message and exit.\n\n•   --bind-address=ipaddress\n\n┌────────────────────┬───────────────────────────┐\n│Command-Line Format │ --bind-address=ipaddress │\n└────────────────────┴───────────────────────────┘\nOn a computer having multiple network interfaces, use this option to select which\ninterface to use for connecting to the MySQL server.\n\n•   --character-sets-dir=dirname\n\n┌────────────────────┬───────────────────────────┐\n│Command-Line Format │ --character-sets-dir=path │\n├────────────────────┼───────────────────────────┤\n│Type                │ String                    │\n├────────────────────┼───────────────────────────┤\n│Default Value       │ [none]                    │\n└────────────────────┴───────────────────────────┘\nThe directory where character sets are installed. See Section 12.15, “Character Set\nConfiguration”.\n\n•   --compress, -C\n\n┌────────────────────┬───────────────────────┐\n│Command-Line Format │ --compress[={OFF|ON}] │\n├────────────────────┼───────────────────────┤\n│Deprecated          │ 8.0.18                │\n├────────────────────┼───────────────────────┤\n│Type                │ Boolean               │\n├────────────────────┼───────────────────────┤\n│Default Value       │ OFF                   │\n└────────────────────┴───────────────────────┘\nCompress all information sent between the client and the server if possible. See\nSection 6.2.8, “Connection Compression Control”.\n\nAs of MySQL 8.0.18, this option is deprecated. Expect it to be removed in a future\nversion of MySQL. See the section called “Configuring Legacy Connection Compression”.\n\n•   --compression-algorithms=value\n\n┌────────────────────┬────────────────────────────────┐\n│Command-Line Format │ --compression-algorithms=value │\n├────────────────────┼────────────────────────────────┤\n│Introduced          │ 8.0.18                         │\n├────────────────────┼────────────────────────────────┤\n│Type                │ Set                            │\n├────────────────────┼────────────────────────────────┤\n│Default Value       │ uncompressed                   │\n├────────────────────┼────────────────────────────────┤\n│Valid Values        │                                │\n│                    │            zlib                │\n│                    │                                │\n│                    │            zstd                │\n│                    │                                │\n│                    │            uncompressed        │\n└────────────────────┴────────────────────────────────┘\nThe permitted compression algorithms for connections to the server. The available\nalgorithms are the same as for the protocolcompressionalgorithms system variable. The\ndefault value is uncompressed.\n\nFor more information, see Section 6.2.8, “Connection Compression Control”.\n\nThis option was added in MySQL 8.0.18.\n\n•   --connect-timeout=value\n\n┌────────────────────┬─────────────────────────┐\n│Command-Line Format │ --connect-timeout=value │\n├────────────────────┼─────────────────────────┤\n│Type                │ Numeric                 │\n├────────────────────┼─────────────────────────┤\n│Default Value       │ 43200                   │\n└────────────────────┴─────────────────────────┘\nThe maximum number of seconds before connection timeout. The default value is 43200 (12\nhours).\n\n•   --count=N, -c N\n\n┌────────────────────┬───────────┐\n│Command-Line Format │ --count=# │\n└────────────────────┴───────────┘\nThe number of iterations to make for repeated command execution if the --sleep option is\ngiven.\n\n•   --debug[=debugoptions], -# [debugoptions]\n\n┌────────────────────┬─────────────────────────────┐\n│Command-Line Format │ --debug[=debugoptions]     │\n├────────────────────┼─────────────────────────────┤\n│Type                │ String                      │\n├────────────────────┼─────────────────────────────┤\n│Default Value       │ d:t:o,/tmp/mysqladmin.trace │\n└────────────────────┴─────────────────────────────┘\nWrite a debugging log. A typical debugoptions string is d:t:o,filename. The default is\nd:t:o,/tmp/mysqladmin.trace.\n\nThis option is available only if MySQL was built using WITHDEBUG. MySQL release binaries\nprovided by Oracle are not built using this option.\n\n•   --debug-check\n\n┌────────────────────┬───────────────┐\n│Command-Line Format │ --debug-check │\n├────────────────────┼───────────────┤\n│Type                │ Boolean       │\n├────────────────────┼───────────────┤\n│Default Value       │ FALSE         │\n└────────────────────┴───────────────┘\nPrint some debugging information when the program exits.\n\nThis option is available only if MySQL was built using WITHDEBUG. MySQL release binaries\nprovided by Oracle are not built using this option.\n\n•   --debug-info\n\n┌────────────────────┬──────────────┐\n│Command-Line Format │ --debug-info │\n├────────────────────┼──────────────┤\n│Type                │ Boolean      │\n├────────────────────┼──────────────┤\n│Default Value       │ FALSE        │\n└────────────────────┴──────────────┘\nPrint debugging information and memory and CPU usage statistics when the program exits.\n\nThis option is available only if MySQL was built using WITHDEBUG. MySQL release binaries\nprovided by Oracle are not built using this option.\n\n•   --default-auth=plugin\n\n┌────────────────────┬───────────────────────┐\n│Command-Line Format │ --default-auth=plugin │\n├────────────────────┼───────────────────────┤\n│Type                │ String                │\n└────────────────────┴───────────────────────┘\nA hint about which client-side authentication plugin to use. See Section 8.2.17,\n“Pluggable Authentication”.\n\n•   --default-character-set=charsetname\n\n┌────────────────────┬──────────────────────┐\n│Command-Line Format │ --default-character- │\n│                    │ set=charsetname     │\n├────────────────────┼──────────────────────┤\n│Type                │ String               │\n└────────────────────┴──────────────────────┘\nUse charsetname as the default character set. See Section 12.15, “Character Set\nConfiguration”.\n\n•   --defaults-extra-file=filename\n\n┌────────────────────┬─────────────────────────────────┐\n│Command-Line Format │ --defaults-extra-file=filename │\n├────────────────────┼─────────────────────────────────┤\n│Type                │ File name                       │\n└────────────────────┴─────────────────────────────────┘\nRead this option file after the global option file but (on Unix) before the user option\nfile. If the file does not exist or is otherwise inaccessible, an error occurs. If\nfilename is not an absolute path name, it is interpreted relative to the current\ndirectory.\n\nFor additional information about this and other option-file options, see Section 6.2.2.3,\n“Command-Line Options that Affect Option-File Handling”.\n\n•   --defaults-file=filename\n\n┌────────────────────┬───────────────────────────┐\n│Command-Line Format │ --defaults-file=filename │\n├────────────────────┼───────────────────────────┤\n│Type                │ File name                 │\n└────────────────────┴───────────────────────────┘\nUse only the given option file. If the file does not exist or is otherwise inaccessible,\nan error occurs. If filename is not an absolute path name, it is interpreted relative to\nthe current directory.\n\nException: Even with --defaults-file, client programs read .mylogin.cnf.\n\nFor additional information about this and other option-file options, see Section 6.2.2.3,\n“Command-Line Options that Affect Option-File Handling”.\n\n•   --defaults-group-suffix=str\n\n┌────────────────────┬─────────────────────────────┐\n│Command-Line Format │ --defaults-group-suffix=str │\n├────────────────────┼─────────────────────────────┤\n│Type                │ String                      │\n└────────────────────┴─────────────────────────────┘\nRead not only the usual option groups, but also groups with the usual names and a suffix\nof str. For example, mysqladmin normally reads the [client] and [mysqladmin] groups. If\nthis option is given as --defaults-group-suffix=other, mysqladmin also reads the\n[clientother] and [mysqladminother] groups.\n\nFor additional information about this and other option-file options, see Section 6.2.2.3,\n“Command-Line Options that Affect Option-File Handling”.\n\n•   --enable-cleartext-plugin\n\n┌────────────────────┬───────────────────────────┐\n│Command-Line Format │ --enable-cleartext-plugin │\n├────────────────────┼───────────────────────────┤\n│Type                │ Boolean                   │\n├────────────────────┼───────────────────────────┤\n│Default Value       │ FALSE                     │\n└────────────────────┴───────────────────────────┘\nEnable the mysqlclearpassword cleartext authentication plugin. (See Section 8.4.1.4,\n“Client-Side Cleartext Pluggable Authentication”.)\n\n•   --force, -f\n\n┌────────────────────┬─────────┐\n│Command-Line Format │ --force │\n└────────────────────┴─────────┘\nDo not ask for confirmation for the drop dbname command. With multiple commands,\ncontinue even if an error occurs.\n\n•   --get-server-public-key\n\n┌────────────────────┬─────────────────────────┐\n│Command-Line Format │ --get-server-public-key │\n├────────────────────┼─────────────────────────┤\n│Type                │ Boolean                 │\n└────────────────────┴─────────────────────────┘\nRequest from the server the public key required for RSA key pair-based password exchange.\nThis option applies to clients that authenticate with the cachingsha2password\nauthentication plugin. For that plugin, the server does not send the public key unless\nrequested. This option is ignored for accounts that do not authenticate with that plugin.\nIt is also ignored if RSA-based password exchange is not used, as is the case when the\nclient connects to the server using a secure connection.\n\nIf --server-public-key-path=filename is given and specifies a valid public key file, it\ntakes precedence over --get-server-public-key.\n\nFor information about the cachingsha2password plugin, see Section 8.4.1.2, “Caching\nSHA-2 Pluggable Authentication”.\n\n•   --host=hostname, -h hostname\n\n┌────────────────────┬──────────────────┐\n│Command-Line Format │ --host=hostname │\n├────────────────────┼──────────────────┤\n│Type                │ String           │\n├────────────────────┼──────────────────┤\n│Default Value       │ localhost        │\n└────────────────────┴──────────────────┘\nConnect to the MySQL server on the given host.\n\n•   --login-path=name\n\n┌────────────────────┬───────────────────┐\n│Command-Line Format │ --login-path=name │\n├────────────────────┼───────────────────┤\n│Type                │ String            │\n└────────────────────┴───────────────────┘\nRead options from the named login path in the .mylogin.cnf login path file. A “login\npath” is an option group containing options that specify which MySQL server to connect to\nand which account to authenticate as. To create or modify a login path file, use the\nmysqlconfigeditor utility. See mysqlconfigeditor(1).\n\nFor additional information about this and other option-file options, see Section 6.2.2.3,\n“Command-Line Options that Affect Option-File Handling”.\n\n•   --no-beep, -b\n\n┌────────────────────┬───────────┐\n│Command-Line Format │ --no-beep │\n└────────────────────┴───────────┘\nSuppress the warning beep that is emitted by default for errors such as a failure to\nconnect to the server.\n\n•   --no-defaults\n\n┌────────────────────┬───────────────┐\n│Command-Line Format │ --no-defaults │\n└────────────────────┴───────────────┘\nDo not read any option files. If program startup fails due to reading unknown options\nfrom an option file, --no-defaults can be used to prevent them from being read.\n\nThe exception is that the .mylogin.cnf file is read in all cases, if it exists. This\npermits passwords to be specified in a safer way than on the command line even when\n--no-defaults is used. To create .mylogin.cnf, use the mysqlconfigeditor utility. See\nmysqlconfigeditor(1).\n\nFor additional information about this and other option-file options, see Section 6.2.2.3,\n“Command-Line Options that Affect Option-File Handling”.\n\n•   --password[=password], -p[password]\n\n┌────────────────────┬───────────────────────┐\n│Command-Line Format │ --password[=password] │\n├────────────────────┼───────────────────────┤\n│Type                │ String                │\n└────────────────────┴───────────────────────┘\nThe password of the MySQL account used for connecting to the server. The password value\nis optional. If not given, mysqladmin prompts for one. If given, there must be no space\nbetween --password= or -p and the password following it. If no password option is\nspecified, the default is to send no password.\n\nSpecifying a password on the command line should be considered insecure. To avoid giving\nthe password on the command line, use an option file. See Section 8.1.2.1, “End-User\nGuidelines for Password Security”.\n\nTo explicitly specify that there is no password and that mysqladmin should not prompt for\none, use the --skip-password option.\n\n•   --password1[=passval] The password for multifactor authentication factor 1 of the MySQL\naccount used for connecting to the server. The password value is optional. If not given,\nmysql prompts for one. If given, there must be no space between --password1= and the\npassword following it. If no password option is specified, the default is to send no\npassword.\n\nSpecifying a password on the command line should be considered insecure. To avoid giving\nthe password on the command line, use an option file. See Section 8.1.2.1, “End-User\nGuidelines for Password Security”.\n\nTo explicitly specify that there is no password and that mysqladmin should not prompt for\none, use the --skip-password1 option.\n\n--password1 and --password are synonymous, as are --skip-password1 and --skip-password.\n\n•   --password2[=passval] The password for multifactor authentication factor 2 of the MySQL\naccount used for connecting to the server. The semantics of this option are similar to\nthe semantics for --password1; see the description of that option for details.\n\n•   --password3[=passval] The password for multifactor authentication factor 3 of the MySQL\naccount used for connecting to the server. The semantics of this option are similar to\nthe semantics for --password1; see the description of that option for details.\n\n•   --pipe, -W\n\n┌────────────────────┬────────┐\n│Command-Line Format │ --pipe │\n├────────────────────┼────────┤\n│Type                │ String │\n└────────────────────┴────────┘\nOn Windows, connect to the server using a named pipe. This option applies only if the\nserver was started with the namedpipe system variable enabled to support named-pipe\nconnections. In addition, the user making the connection must be a member of the Windows\ngroup specified by the namedpipefullaccessgroup system variable.\n\n•   --plugin-dir=dirname\n\n┌────────────────────┬───────────────────────┐\n│Command-Line Format │ --plugin-dir=dirname │\n├────────────────────┼───────────────────────┤\n│Type                │ Directory name        │\n└────────────────────┴───────────────────────┘\nThe directory in which to look for plugins. Specify this option if the --default-auth\noption is used to specify an authentication plugin but mysqladmin does not find it. See\nSection 8.2.17, “Pluggable Authentication”.\n\n•   --port=portnum, -P portnum\n\n┌────────────────────┬─────────────────┐\n│Command-Line Format │ --port=portnum │\n├────────────────────┼─────────────────┤\n│Type                │ Numeric         │\n├────────────────────┼─────────────────┤\n│Default Value       │ 3306            │\n└────────────────────┴─────────────────┘\nFor TCP/IP connections, the port number to use.\n\n•   --print-defaults\n\n┌────────────────────┬──────────────────┐\n│Command-Line Format │ --print-defaults │\n└────────────────────┴──────────────────┘\nPrint the program name and all options that it gets from option files.\n\nFor additional information about this and other option-file options, see Section 6.2.2.3,\n“Command-Line Options that Affect Option-File Handling”.\n\n•   --protocol={TCP|SOCKET|PIPE|MEMORY}\n\n┌────────────────────┬───────────────────┐\n│Command-Line Format │ --protocol=type   │\n├────────────────────┼───────────────────┤\n│Type                │ String            │\n├────────────────────┼───────────────────┤\n│Default Value       │ [see text]        │\n├────────────────────┼───────────────────┤\n│Valid Values        │                   │\n│                    │            TCP    │\n│                    │                   │\n│                    │            SOCKET │\n│                    │                   │\n│                    │            PIPE   │\n│                    │                   │\n│                    │            MEMORY │\n└────────────────────┴───────────────────┘\nThe transport protocol to use for connecting to the server. It is useful when the other\nconnection parameters normally result in use of a protocol other than the one you want.\nFor details on the permissible values, see Section 6.2.7, “Connection Transport\nProtocols”.\n\n•   --relative, -r\n\n┌────────────────────┬────────────┐\n│Command-Line Format │ --relative │\n└────────────────────┴────────────┘\nShow the difference between the current and previous values when used with the --sleep\noption. This option works only with the extended-status command.\n\n•   --server-public-key-path=filename\n\n┌────────────────────┬──────────────────────┐\n│Command-Line Format │ --server-public-key- │\n│                    │ path=filename       │\n├────────────────────┼──────────────────────┤\n│Type                │ File name            │\n└────────────────────┴──────────────────────┘\nThe path name to a file in PEM format containing a client-side copy of the public key\nrequired by the server for RSA key pair-based password exchange. This option applies to\nclients that authenticate with the sha256password or cachingsha2password\nauthentication plugin. This option is ignored for accounts that do not authenticate with\none of those plugins. It is also ignored if RSA-based password exchange is not used, as\nis the case when the client connects to the server using a secure connection.\n\nIf --server-public-key-path=filename is given and specifies a valid public key file, it\ntakes precedence over --get-server-public-key.\n\nFor sha256password, this option applies only if MySQL was built using OpenSSL.\n\nFor information about the sha256password and cachingsha2password plugins, see\nSection 8.4.1.3, “SHA-256 Pluggable Authentication”, and Section 8.4.1.2, “Caching SHA-2\nPluggable Authentication”.\n\n•   --shared-memory-base-name=name\n\n┌────────────────────┬────────────────────────────────┐\n│Command-Line Format │ --shared-memory-base-name=name │\n├────────────────────┼────────────────────────────────┤\n│Platform Specific   │ Windows                        │\n└────────────────────┴────────────────────────────────┘\nOn Windows, the shared-memory name to use for connections made using shared memory to a\nlocal server. The default value is MYSQL. The shared-memory name is case-sensitive.\n\nThis option applies only if the server was started with the sharedmemory system variable\nenabled to support shared-memory connections.\n\n•   --show-warnings\n\n┌────────────────────┬─────────────────┐\n│Command-Line Format │ --show-warnings │\n└────────────────────┴─────────────────┘\nShow warnings resulting from execution of statements sent to the server.\n\n•   --shutdown-timeout=value\n\n┌────────────────────┬────────────────────────────┐\n│Command-Line Format │ --shutdown-timeout=seconds │\n├────────────────────┼────────────────────────────┤\n│Type                │ Numeric                    │\n├────────────────────┼────────────────────────────┤\n│Default Value       │ 3600                       │\n└────────────────────┴────────────────────────────┘\nThe maximum number of seconds to wait for server shutdown. The default value is 3600 (1\nhour).\n\n•   --silent, -s\n\n┌────────────────────┬──────────┐\n│Command-Line Format │ --silent │\n└────────────────────┴──────────┘\nExit silently if a connection to the server cannot be established.\n\n•   --sleep=delay, -i delay\n\n┌────────────────────┬───────────────┐\n│Command-Line Format │ --sleep=delay │\n└────────────────────┴───────────────┘\nExecute commands repeatedly, sleeping for delay seconds in between. The --count option\ndetermines the number of iterations. If --count is not given, mysqladmin executes\ncommands indefinitely until interrupted.\n\n•   --socket=path, -S path\n\n┌────────────────────┬────────────────────────────────┐\n│Command-Line Format │ --socket={filename|pipename} │\n├────────────────────┼────────────────────────────────┤\n│Type                │ String                         │\n└────────────────────┴────────────────────────────────┘\nFor connections to localhost, the Unix socket file to use, or, on Windows, the name of\nthe named pipe to use.\n\nOn Windows, this option applies only if the server was started with the namedpipe system\nvariable enabled to support named-pipe connections. In addition, the user making the\nconnection must be a member of the Windows group specified by the\nnamedpipefullaccessgroup system variable.\n\n•   --ssl* Options that begin with --ssl specify whether to connect to the server using\nencryption and indicate where to find SSL keys and certificates. See the section called\n“Command Options for Encrypted Connections”.\n\n•   --ssl-fips-mode={OFF|ON|STRICT}\n\n┌────────────────────┬─────────────────────────────────┐\n│Command-Line Format │ --ssl-fips-mode={OFF|ON|STRICT} │\n├────────────────────┼─────────────────────────────────┤\n│Deprecated          │ 8.0.34                          │\n├────────────────────┼─────────────────────────────────┤\n│Type                │ Enumeration                     │\n├────────────────────┼─────────────────────────────────┤\n│Default Value       │ OFF                             │\n├────────────────────┼─────────────────────────────────┤\n│Valid Values        │                                 │\n│                    │            OFF                  │\n│                    │                                 │\n│                    │            ON                   │\n│                    │                                 │\n│                    │            STRICT               │\n└────────────────────┴─────────────────────────────────┘\nControls whether to enable FIPS mode on the client side. The --ssl-fips-mode option\ndiffers from other --ssl-xxx options in that it is not used to establish encrypted\nconnections, but rather to affect which cryptographic operations to permit. See\nSection 8.8, “FIPS Support”.\n\nThese --ssl-fips-mode values are permitted:\n\n•   OFF: Disable FIPS mode.\n\n•   ON: Enable FIPS mode.\n\n•   STRICT: Enable “strict” FIPS mode.\n\n\nNote\nIf the OpenSSL FIPS Object Module is not available, the only permitted value for\n--ssl-fips-mode is OFF. In this case, setting --ssl-fips-mode to ON or STRICT causes\nthe client to produce a warning at startup and to operate in non-FIPS mode.\nAs of MySQL 8.0.34, this option is deprecated. Expect it to be removed in a future\nversion of MySQL.\n\n•   --tls-ciphersuites=ciphersuitelist\n\n┌────────────────────┬───────────────────────────────┐\n│Command-Line Format │ --tls-                        │\n│                    │ ciphersuites=ciphersuitelist │\n├────────────────────┼───────────────────────────────┤\n│Introduced          │ 8.0.16                        │\n├────────────────────┼───────────────────────────────┤\n│Type                │ String                        │\n└────────────────────┴───────────────────────────────┘\nThe permissible ciphersuites for encrypted connections that use TLSv1.3. The value is a\nlist of one or more colon-separated ciphersuite names. The ciphersuites that can be named\nfor this option depend on the SSL library used to compile MySQL. For details, see\nSection 8.3.2, “Encrypted Connection TLS Protocols and Ciphers”.\n\nThis option was added in MySQL 8.0.16.\n\n•   --tls-version=protocollist\n\n┌─────────────────────────┬──────────────────────────────────────────┐\n│Command-Line Format      │ --tls-version=protocollist              │\n├─────────────────────────┼──────────────────────────────────────────┤\n│Type                     │ String                                   │\n├─────────────────────────┼──────────────────────────────────────────┤\n│Default Value (≥≥ 8.0.16) │                                          │\n│                         │            TLSv1,TLSv1.1,TLSv1.2,TLSv1.3 │\n│                         │            (OpenSSL 1.1.1 or             │\n│                         │            higher)                       │\n│                         │                                          │\n│                         │            TLSv1,TLSv1.1,TLSv1.2         │\n│                         │            (otherwise)                   │\n├─────────────────────────┼──────────────────────────────────────────┤\n│Default Value (≤≤ 8.0.15) │ TLSv1,TLSv1.1,TLSv1.2                    │\n└─────────────────────────┴──────────────────────────────────────────┘\nThe permissible TLS protocols for encrypted connections. The value is a list of one or\nmore comma-separated protocol names. The protocols that can be named for this option\ndepend on the SSL library used to compile MySQL. For details, see Section 8.3.2,\n“Encrypted Connection TLS Protocols and Ciphers”.\n\n•   --user=username, -u username\n\n┌────────────────────┬───────────────────┐\n│Command-Line Format │ --user=username, │\n├────────────────────┼───────────────────┤\n│Type                │ String            │\n└────────────────────┴───────────────────┘\nThe user name of the MySQL account to use for connecting to the server.\n\nIf you are using the Rewriter plugin with MySQL 8.0.31 or later, you should grant this\nuser the SKIPQUERYREWRITE privilege.\n\n•   --verbose, -v\n\n┌────────────────────┬───────────┐\n│Command-Line Format │ --verbose │\n└────────────────────┴───────────┘\nVerbose mode. Print more information about what the program does.\n\n•   --version, -V\n\n┌────────────────────┬───────────┐\n│Command-Line Format │ --version │\n└────────────────────┴───────────┘\nDisplay version information and exit.\n\n•   --vertical, -E\n\n┌────────────────────┬────────────┐\n│Command-Line Format │ --vertical │\n└────────────────────┴────────────┘\nPrint output vertically. This is similar to --relative, but prints output vertically.\n\n•   --wait[=count], -w[count]\n\n┌────────────────────┬────────┐\n│Command-Line Format │ --wait │\n└────────────────────┴────────┘\nIf the connection cannot be established, wait and retry instead of aborting. If a count\nvalue is given, it indicates the number of times to retry. The default is one time.\n\n•   --zstd-compression-level=level\n\n┌────────────────────┬────────────────────────────┐\n│Command-Line Format │ --zstd-compression-level=# │\n├────────────────────┼────────────────────────────┤\n│Introduced          │ 8.0.18                     │\n├────────────────────┼────────────────────────────┤\n│Type                │ Integer                    │\n└────────────────────┴────────────────────────────┘\nThe compression level to use for connections to the server that use the zstd compression\nalgorithm. The permitted levels are from 1 to 22, with larger values indicating\nincreasing levels of compression. The default zstd compression level is 3. The\ncompression level setting has no effect on connections that do not use zstd compression.\n\nFor more information, see Section 6.2.8, “Connection Compression Control”.\n\nThis option was added in MySQL 8.0.18.\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright © 1997, 2024, Oracle and/or its affiliates.\n\nThis documentation is free software; you can redistribute it and/or modify it only under the\nterms of the GNU General Public License as published by the Free Software Foundation; version\n2 of the License.\n\nThis documentation is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\nPURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with the program; if\nnot, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA\n02110-1301 USA or see http://www.gnu.org/licenses/.\n\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "For more information, please refer to the MySQL Reference Manual, which may already be\ninstalled locally and which is also available online at http://dev.mysql.com/doc/.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Oracle Corporation (http://dev.mysql.com/).\n\n\n\nMySQL 8.0                                    12/13/2024                                MYSQLADMIN(1)",
                "subsections": []
            }
        }
    }
}