讓我們了解 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
登錄后復制
我們可以使用幫助內容命令來查看幫助類別的列表。讓我們舉個例子來理解這一點 –
mysql> help contents
登錄后復制
輸出
You asked for help about help category: "Contents" For more information, type 'help <item>', where <item> 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 <item>', where <item> is one of the following topics: SHOW SHOW BINARY LOGS SHOW ENGINE SHOW LOGS
登錄后復制
以上就是MySQL 客戶端服務器端幫助的詳細內容,更多請關注www.92cms.cn其它相關文章!






