8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 6 个 MySQL 程序 / 6.7 程序开发实用程序 / 6.7.2 my_print_defaults — 显示选项文件中的选项
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 78%

6.7.2 my_print_defaults — 从选项文件显示选项6.7.2 my_print_defaults — Display Options from Option Files

my_print_defaults 显示选项文件中选项组存在的选项。输出指示读取指定选项组的程序使用了哪些选项。例如,mysqlcheck 程序会读取 [mysqlcheck] 和 [client] 选项组。要查看标准选项文件中这些组包含了哪些选项,可以像这样调用 my_print_defaults:my_print_defaults displays the options that are present in option groups of option files. The output indicates what options are used by programs that read the specified option groups. For example, the mysqlcheck program reads the [mysqlcheck] and [client] option groups. To see what options are present in those groups in the standard option files, invoke my_print_defaults like this:

$> my_print_defaults mysqlcheck client
--user=myusername
--password=password
--host=localhost

输出由选项组成,每行一个,以命令行中指定的形式呈现。The output consists of options, one per line, in the form that they would be specified on the command line.

my_print_defaults 支持以下选项。my_print_defaults supports the following options.