MySQL客户端服务器端帮助
让我们了解MySQL客户端-服务器端的帮助-
mysql> help search_string
如果上面的“help”命令提供了一个参数,则mysql将使用它作为搜索字符串,以从《MySQL参考手册》的内容访问服务器端帮助。要正确执行此命令,需要使用帮助主题信息初始化mysql数据库中的帮助表。
如果搜索字符串不匹配,则搜索操作将失败。让我们以一个例子来理解这一点-
mysql> help me输出结果
Nothing found Please try to run 'help contents' for a list of all accessible topics
我们可以使用helpcontents命令来查看帮助类别的列表。让我们以一个例子来理解这一点-
mysql> help contents输出结果
You asked for help about help category: "Contents" For more information, type 'help- ', where
- is one of the following categories: Account Management Administration Data Definition Data Manipulation Data Types Functions Functions and Modifiers for Use with GROUP BY Geographic Features Language Structure Plugins Storage Engines Stored Routines Table Maintenance Transactions Triggers
如果搜索字符串匹配多个项目,则mysql将显示匹配主题的列表。让我们以一个例子来理解这一点-
mysql > help logs输出结果
Many help items for your request exist. To make a more specific request, please type 'help- ', where
- is one of the following topics: SHOW SHOW BINARY LOGS SHOW ENGINE SHOW LOGS
热门推荐
10 毛笔哥哥结婚祝福语简短
11 向国庆送祝福语简短
12 建队节祝福语简短
13 朋友喜得外孙简短祝福语
14 小店营业的祝福语简短
15 餐饮生日祝福语简短独特
16 鲜花英语祝福语卡片简短
17 男朋友暴富祝福语简短
18 婶婶拜年祝福语大全简短