讓我們了解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 客戶端伺服器端說明的詳細內容。更多資訊請關注PHP中文網其他相關文章!