MySQL 客戶端伺服器端幫助
我們來了解一下 MySQL 客戶端伺服器端幫助 −
mysql> help search_string
如果向以上的“幫助”命令提供了引數,mysql 會將其用作搜尋字串,從 MySQL 參考手冊的內容中訪問伺服器端的幫助。此命令的正常操作需要使用幫助主題資訊來初始化 MySQL 資料庫中的幫助表。
如果沒有匹配的搜尋字串,則搜尋操作失敗。讓我們舉個例子來理解這一點 −
mysql> help me
輸出
Nothing found Please try to run 'help contents' for a list of all accessible topics
我們可以使用 help contents 命令來檢視幫助類別的列表。讓我們舉個例子來理解這一點 −
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
廣告
資料結構
網路
關係型資料庫管理系統
作業系統
Java
iOS
HTML
CSS
Android
Python
C 程式設計
C++
C#
MongoDB
MySQL
Javascript
PHP