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

ヘルプカテゴリのリストを閲覧するには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

トピックのヘルプ情報を閲覧するには、トピックを検索文字列として使用してください。

mysql> help show binary logs
Name: 'SHOW BINARY LOGS'
Description:
Syntax:
SHOW BINARY LOGS
SHOW MASTER LOGS

Lists the binary log files on the server. This statement is used as
part of the procedure described in [purge-master-logs], that shows how
to determine which logs can be purged.

mysql> SHOW BINARY LOGS;
+---------------+-----------+
| Log_name      | File_size |
+---------------+-----------+
| binlog.000015 |    724935 |
| binlog.000016 |    733481 |
+---------------+-----------+